]> granicus.if.org Git - php/commit
- Implemented request #44164, zlib.output_compression is now implicitly
authorGustavo André dos Santos Lopes <cataphract@php.net>
Tue, 26 Oct 2010 02:16:21 +0000 (02:16 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Tue, 26 Oct 2010 02:16:21 +0000 (02:16 +0000)
commit1f191e4d2b41222834a3eda419dcc314a69dd2f4
tree611f54ab1a6e7fa56c10b041bc059195c74e9c95
parent18fa045e75cc596d401017397402e578bc6f7ec0
- Implemented request #44164, zlib.output_compression is now implicitly
  disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
main/SAPI.c
tests/basic/req44164.phpt [new file with mode: 0644]