]> 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)
commit0086bc8a96607d33f08e832282576dd62a152aae
treeae13083baeb126c3991082e9763ce7358cd7344f
parent762a1b2d263bb612342733492dc0c67ebb79d6d6
- 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.
NEWS
main/SAPI.c
tests/basic/req44164.phpt [new file with mode: 0644]