Bug #1645
closedusing mod_deflate with deflate.mimetypes and custom 404s enabled server hangs
Description
Using 1.5.0-r2146 on OpenBSD 4.2
with mod_deflate enabled
and custom 404s: server.errorfile-prefix = "/var/www/style"
- this works fine
deflate.mimetypes = ( "text/plain", "text/xml" )
- if text/html is added when a 404 is hit the server just hangs and never finishes
deflate.mimetypes = ( "text/html", "text/plain", "text/xml" )
If custom 404s is turned off, then deflate text/html" works as expected.
Adding:
debug.log-request-handling = "enable"
To the config this is seen in the error log upon hitting a 404
response.c.502: (trace) -- handling physical path
response.c.503: (trace) Path : /var/www/3
response.c.502: (trace) -- handling physical path
response.c.503: (trace) Path : /var/www/3
response.c.565: (trace) -- file not found
response.c.566: (trace) Path : /var/www/3
mod_deflate.c.1021: (error) flush error
- note in 1.5.0r1992 nothing was shown in the browser except the busy throbber. In r2146 the custom 404 is displayed but just hangs indefinitely
-- fox
Updated by stbuehler over 15 years ago
- Status changed from New to Fixed
- Assignee deleted (
jakabosky)
I just tried it (and fixed another segfault), but couldn't reproduce your problem. I think it got fixed with some other cleanups (chunkqueue length/bytes_in).
Also available in: Atom