Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33016 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42851 invoked by uid 1010); 5 Nov 2007 01:02:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42836 invoked from network); 5 Nov 2007 01:02:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2007 01:02:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=pollita@php.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pollita@php.net; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain php.net designates 140.211.166.39 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 140.211.166.39 osu1.php.net Linux 2.4/2.6 Received: from [140.211.166.39] ([140.211.166.39:39470] helo=osu1.php.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/37-30221-FBB6E274 for ; Sun, 04 Nov 2007 20:02:55 -0500 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=mx; d=php.net; h=From:Subject:To:Date; b=W1kFx2PKcjwnM4OHrK+3mw9K6jnZ1+108/KZ+oMkTM7GBp8S+1LYdbmHerB+AJSl 8e7viEiUwhFNolPjtbDtf1fKY4B95kMwx2ZGg8nZREgDDXuHJ2JT31JFvtrqGTRd Authentication-Results: osu1.php.net header.from=pollita@php.net; sender-id=neutral Authentication-Results: osu1.php.net smtp.mail=pollita@php.net; spf=neutral; sender-id=neutral Authentication-Results: osu1.php.net smtp.user=pollita; auth=pass (LOGIN) Received: from [216.145.49.15] ([216.145.49.15:36195] helo=[10.72.72.53]) by osu1.php.net (envelope-from ) (ecelerity 2.2.1.21 r(19233)) with ESMTPSA (cipher=none) id CF/60-17085-28C6E274; Sun, 04 Nov 2007 17:06:11 -0800 Message-ID: <472E6BB4.8060408@php.net> Date: Sun, 04 Nov 2007 17:02:44 -0800 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: =?ISO-8859-1?Q?David_Z=FClke?= CC: PHP Internals References: <87A052F5-4285-4A16-8566-40DFB845C9B9@bitxtender.com> In-Reply-To: <87A052F5-4285-4A16-8566-40DFB845C9B9@bitxtender.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Patch] http_fopen_wrapper.c and allowing any response code w/o warning From: pollita@php.net (Sara Golemon) > So I looked at the code and came up with this > change for http_fopen_wrapper.c line 547 > (http://lxr.php.net/source/php-src/ext/standard/http_fopen_wrapper.c#547): > > if ((options & STREAM_ONLY_GET_HEADERS) || > (php_stream_context_get_option(context, "http", "ignore_errors", > &tmpzval) == SUCCESS && Z_TYPE_PP(tmpzval) == IS_BOOL && Z_BVAL(retval))) { > Cheers! http://news.php.net/php.cvs/46932 http://news.php.net/php.cvs/46933 -Sara