rasmus Sun Nov 9 15:50:13 2008 UTC Modified files: /php-src/sapi/cgi cgi_main.c Log: Fix for bug #46525 which fixes Ilia's fix for bug #46319 http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.369&r2=1.370&diff_format=u Index: php-src/sapi/cgi/cgi_main.c diff -u php-src/sapi/cgi/cgi_main.c:1.369 php-src/sapi/cgi/cgi_main.c:1.370 --- php-src/sapi/cgi/cgi_main.c:1.369 Sun Nov 2 21:10:12 2008 +++ php-src/sapi/cgi/cgi_main.c Sun Nov 9 15:50:13 2008 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.369 2008/11/02 21:10:12 felipe Exp $ */ +/* $Id: cgi_main.c,v 1.370 2008/11/09 15:50:13 rasmus Exp $ */ #include "php.h" #include "php_globals.h" @@ -455,6 +455,7 @@ } } else if (response_status == 304 && h->header_len > sizeof("Content-Type:")-1 && strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:")-1) == 0) { + h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); continue; } else { PHPWRITE_H(h->header, h->header_len);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php