rasmus          Sat Nov  8 22:56:17 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/sapi/cgi   cgi_main.c 
  Log:
  Fix for bug #46525
  
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.30&r2=1.267.2.15.2.50.2.31&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.30 
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.31
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.30    Tue Oct 21 03:19:28 2008
+++ php-src/sapi/cgi/cgi_main.c Sat Nov  8 22:56:17 2008
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.30 2008/10/21 03:19:28 lbarnaud Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.31 2008/11/08 22:56:17 rasmus Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -454,6 +454,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

Reply via email to