https://bz.apache.org/bugzilla/show_bug.cgi?id=63839
Bug ID: 63839 Summary: DeflateBufferSize has no effect on Content-Length header, docs say it should Product: Apache httpd-2 Version: 2.4.41 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: mod_deflate Assignee: bugs@httpd.apache.org Reporter: m...@contact.de Target Milestone: --- The documentation states, that mod_deflate handles a Content-Length header differently, when the response fits: """The DeflateBufferSize directive specifies the size in bytes of the fragments that zlib should compress at one time. If the compressed response size is bigger than the one specified by this directive then httpd will switch to chunked encoding (HTTP header Transfer-Encoding set to Chunked), with the side effect of not setting any Content-Length HTTP header.""" I tried with a trivial mod_wsgi app sending tiny pages (300 Bytes) with Content-Length set, and always get 'Transfer-Encoding: chunked' no matter what DeflateBufferSize is set to. Browsing through the code, i only saw mod_deflate removing Content-Length but never setting it anywhere, so i assume it does not set it. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org