]> git.pld-linux.org Git - packages/php.git/blame - php-zlib.patch
- make it possible to coinstall phpXY-pdo-pgsql
[packages/php.git] / php-zlib.patch
CommitLineData
917119c9
AM
1diff -burN php-5.0.0b3/ext/zlib/zlib.c php-5.0.0b3-zlib/ext/zlib/zlib.c
2--- php-5.0.0b3/ext/zlib/zlib.c 2003-09-26 10:09:53.000000000 +0200
3+++ php-5.0.0b3-zlib/ext/zlib/zlib.c 2003-12-27 00:40:53.000000000 +0100
4@@ -979,6 +979,11 @@
5
2d94c4be 6 if (ZLIBG(output_handler) && strlen(ZLIBG(output_handler))) {
7 php_start_ob_buffer_named(ZLIBG(output_handler), 0, 1 TSRMLS_CC);
917119c9 8+ if (sapi_add_header("Content-Encoding: gzip", sizeof("Content-Encoding: gzip") - 1 , 1)!=FAILURE) {
2d94c4be 9+ if (sapi_add_header("Vary: Accept-Encoding", sizeof("Vary: Accept-Encoding") - 1, 1)==FAILURE) {
10+ SG(sapi_headers).send_default_content_type = 0;
11+ }
12+ }
13 }
14 return SUCCESS;
15 }
This page took 0.103183 seconds and 4 git commands to generate.