]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #36857 (Added support for partial content fetching to the
authorIlia Alshanetsky <iliaa@php.net>
Sun, 26 Mar 2006 17:12:57 +0000 (17:12 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 26 Mar 2006 17:12:57 +0000 (17:12 +0000)
HTTP streams wrapper).

NEWS
ext/standard/http_fopen_wrapper.c

diff --git a/NEWS b/NEWS
index 7181fe0b6d7034c38cf509e27238d120a1b506ba..50bf13ab89da6d5a44f9d1cc7b7c89205bf6232d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ PHP 4                                                                      NEWS
 - Updated PCRE to version 6.6. (Andrei)
 - Added overflow checks to wordwrap() function. (Ilia)
 - Added a check for special characters in the session name. (Ilia)
+- Fixed bug #36857 (Added support for partial content fetching to the HTTP
+  streams wrapper). (Ilia)
 - Fixed bug #36776 (node_list_wrapper_dtor segfault). (Rob)
 - Fixed bug #36459 (Incorrect adding PHPSESSID to links, which contains \r\n).
   (Ilia)
index 30436777dbd98df61a336e2810cf31a4ab881e4c..1df04b4928a73d1817daba39a5a79c28fdfb3e9d 100644 (file)
@@ -353,6 +353,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
                        }
                        switch(response_code) {
                                case 200:
+                               case 206: /* partial content */
                                case 302:
                                case 301:
                                        reqok = 1;