Ticket #1645 (new defect)

Opened 3 months ago

using mod_deflate with deflate.mimetypes and custom 404s enabled server hangs

Reported by: fox@fyres.net Assigned to: jakabosky
Priority: normal Milestone: 1.5.0
Component: mod_deflate Version: 1.5.x-svn
Severity: normal Keywords: mod_deflate, server.errorfile-prefix
Cc: Blocking:
Need Feedback: 0

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

Attachments


Add/Change #1645 (using mod_deflate with deflate.mimetypes and custom 404s enabled server hangs)




Change Properties