Project

General

Profile

Bug #1031

mod_deflate breaks cgi

Added by Anonymous over 12 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Missing in 1.5.x:

Description

I have a cgi, which output a small image:

Content-type: image/png\r\n\r\n
(The image itself)

It works well without mod_deflate.
But after applying the patch "lighttpd-1.4.13.mod_deflate.jz.patch",
a browser always wait for more output, and for most cases the image
can not be displayed.

But for fastcgis, it seems ok.

-- yasheng


Related issues

Related to Feature #1824: Adding mod_deflate to 1.4.xx Fixed2008-11-18

Actions

History

#1

Updated by Anonymous almost 12 years ago

I have this problem with regular cgis. This includes awstats and mailman. The log contents for a request to awstats.pl:

mod_deflate.c.1213: (trace) add deflate filter to filter chain
2007-10-31 09:55:55: (mod_deflate.c.1247) Content-Type: text/html; charset=
2007-10-31 09:55:55: (mod_deflate.c.1254) mime-type: text/html
2007-10-31 09:55:55: (mod_deflate.c.1293) add Vary: Accept-Encoding for /cgi-bin/prot/awstats.pl
2007-10-31 09:55:55: (mod_deflate.c.322) output-buffer-size: 0
2007-10-31 09:55:55: (mod_deflate.c.324) compression-level: 5
2007-10-31 09:55:55: (mod_deflate.c.326) mem-level: 9
2007-10-31 09:55:55: (mod_deflate.c.328) window-size: -15
2007-10-31 09:55:55: (mod_deflate.c.330) min-compress-size: 200
2007-10-31 09:55:55: (mod_deflate.c.332) work-block-size: 2048
mod_deflate.c.1349: (trace) compressing '/cgi-bin/prot/awstats.pl' with compression = gzip
2007-10-31 09:55:55: (mod_deflate.c.1379) end = 0 for uri /cgi-bin/prot/awstats.pl
2007-10-31 09:55:55: (mod_deflate.c.960) compress: in_queue len= 3965
2007-10-31 09:55:55: (mod_deflate.c.371) gzip_header len= 10
2007-10-31 09:55:55: (mod_deflate.c.406) compress: in= 3965 , out= 0
2007-10-31 09:55:55: (mod_deflate.c.1037) compressed bytes: 3965
mod_deflate.c.1049: (trace) end: 0 - 3965 - 3965
2007-10-31 09:55:55: (mod_deflate.c.472) flush: in= 0 , out= 1228
2007-10-31 09:55:55: (mod_deflate.c.960) compress: in_queue len= 4096
2007-10-31 09:55:55: (mod_deflate.c.406) compress: in= 4096 , out= 0
2007-10-31 09:55:55: (mod_deflate.c.1037) compressed bytes: 4096
mod_deflate.c.1049: (trace) end: 0 - 8061 - 8061
2007-10-31 09:55:55: (mod_deflate.c.472) flush: in= 0 , out= 797
2007-10-31 09:55:55: (mod_deflate.c.960) compress: in_queue len= 16384
2007-10-31 09:55:55: (mod_deflate.c.406) compress: in= 4096 , out= 0
2007-10-31 09:55:55: (mod_deflate.c.406) compress: in= 12288 , out= 0
2007-10-31 09:55:55: (mod_deflate.c.1037) compressed bytes: 16384
mod_deflate.c.1049: (trace) end: 0 - 24445 - 24445
2007-10-31 09:55:55: (mod_deflate.c.472) flush: in= 0 , out= 1816
2007-10-31 09:55:55: (mod_deflate.c.960) compress: in_queue len= 0
2007-10-31 09:55:55: (mod_deflate.c.1037) compressed bytes: 0
mod_deflate.c.1049: (trace) end: 0 - 24445 - 24445
2007-10-31 09:55:55: (mod_deflate.c.1056) flush error

-- rupa

#2

Updated by Anonymous almost 12 years ago

can't attach log (says my IP is in sc.surbl.org). Pasted here: http://rafb.net/p/BGCofJ15.html

-- rupa

#3

Updated by stbuehler almost 11 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

guess why mod_deflate is not official in 1.4. the other problem may be fixed with #1276.

#4

Updated by stbuehler almost 11 years ago

  • Status changed from Fixed to Invalid
#5

Updated by gstrauss about 3 years ago

Also available in: Atom