Project

General

Profile

Actions

Bug #1645

closed

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

Added by Anonymous almost 16 years ago. Updated almost 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_deflate
Target version:
ASK QUESTIONS IN Forums:

Description

Using 1.5.0-r2146 on OpenBSD 4.2
with mod_deflate enabled
and custom 404s: server.errorfile-prefix = "/var/www/style"

  1. this works fine
    deflate.mimetypes = ( "text/plain", "text/xml" )
  1. 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

  1. 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

Actions #1

Updated by stbuehler almost 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).

Actions

Also available in: Atom