Re: [Patch] http_fopen_wrapper.c and allowing any response code w/o warning

From: Date: Mon, 05 Nov 2007 01:02:44 +0000
Subject: Re: [Patch] http_fopen_wrapper.c and allowing any response code w/o warning
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-33016@lists.php.net to get a copy of this message
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

« previous php.internals (#33016) next »