summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorStefan Roehrich <sr@php.net>2003-09-10 08:47:37 +0000
committerStefan Roehrich <sr@php.net>2003-09-10 08:47:37 +0000
commit2fc92e8fd8087e4bf4555f1df0017ad9fecb1da9 (patch)
tree269b70cbc52a768645c503d74e3f9dcac272dd0f /main
parent546663f7cd4600a9f313c453f68585aa750e54dc (diff)
downloadphp-git-2fc92e8fd8087e4bf4555f1df0017ad9fecb1da9.tar.gz
Fix for bug #23488 zlib.output_compression overrides vary header.
It was already fixed for ob_gzhandler (#24827).
Diffstat (limited to 'main')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 5345827b70..17755dda1f 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -731,7 +731,7 @@ SAPI_API int sapi_send_headers(TSRMLS_D)
if (len <= 0 || sapi_add_header(buf, len, 1) == FAILURE) {
return FAILURE;
}
- if (sapi_add_header("Vary: Accept-Encoding", sizeof("Vary: Accept-Encoding") - 1, 1) == FAILURE) {
+ if (sapi_add_header_ex("Vary: Accept-Encoding", sizeof("Vary: Accept-Encoding") - 1, 1, 0 TSRMLS_CC) == FAILURE) {
return FAILURE;
}
}