Project

General

Profile

Bug #1645

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

Added by Anonymous over 11 years ago. Updated about 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_deflate
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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

History

#1

Updated by stbuehler about 10 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