mike            Fri Feb  2 17:11:10 2007 UTC

  Modified files:              
    /php-src/ext/zlib   zlib.c 
  Log:
  - add note about the past for the future, see 
http://bugs.php.net/?id=40310&edit=1
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/zlib/zlib.c?r1=1.213&r2=1.214&diff_format=u
Index: php-src/ext/zlib/zlib.c
diff -u php-src/ext/zlib/zlib.c:1.213 php-src/ext/zlib/zlib.c:1.214
--- php-src/ext/zlib/zlib.c:1.213       Mon Jan  1 09:29:34 2007
+++ php-src/ext/zlib/zlib.c     Fri Feb  2 17:11:10 2007
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: zlib.c,v 1.213 2007/01/01 09:29:34 sebastian Exp $ */
+/* $Id: zlib.c,v 1.214 2007/02/02 17:11:10 mike Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #      include "config.h"
@@ -218,6 +218,8 @@
                                        deflateEnd(&ctx->Z);
                                        return FAILURE;
                        }
+                       /* "Vary: Accept-Encoding" header sent along 
uncompressed content breaks caching in MSIE,
+                          so let's just send it with successfully compressed 
content, see http://bugs.php.net/40325 */
                        sapi_add_header_ex(ZEND_STRL("Vary: Accept-Encoding"), 
1, 1 TSRMLS_CC);
                        
php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, NULL TSRMLS_CC);
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to