Project

General

Profile

Actions

Bug #2119

closed

mod_cgi: bad chunked transfer encoding with the mod_deflate patch

Added by geronimo almost 15 years ago. Updated over 8 years ago.

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

Description

If mod_deflate support patch is applied (http://redmine.lighttpd.net/attachments/632/lighttpd-1.4.19.mod_deflate.patch) transfer chunked encoding will be broken in mod_cgi even if mod_deflate is disabled.

Steps to reproduce.
Write simple cgi script:

#!/usr/bin/perl
use CGI
print CGI::header();
print "hello world";

When you try curl http://localhost/cgi-test.pl you will receive "(18) transfer closed with outstanding read data remaining" because there is no last zero size chunk in the response.

There are no problems with HTTP/1.0 because chunked transfer encoding is not used.


Related issues 1 (0 open1 closed)

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

Updated by stbuehler almost 15 years ago

  • Status changed from New to Invalid
  • Target version deleted (1.4.x)

Why do you think the patch wasn't applied upstream?

Actions #2

Updated by geronimo almost 15 years ago

stbuehler wrote:

Why do you think the patch wasn't applied upstream?

If you are not going to make 1.5.x the main release, mod_deflate is a must have feature in 1.4.x

Actions #3

Updated by stbuehler almost 15 years ago

No.

Actions #4

Updated by geronimo almost 15 years ago

I have made a patch: http://redmine.lighttpd.net/attachments/1057/mod_deflate-1.4.19-fix-chunked-coding.patch
I don't like it, but it's the easiest way not to make the diff with the trunk too large.

Actions #5

Updated by gstrauss over 8 years ago

Actions #7

Updated by gstrauss over 8 years ago

  • Category set to mod_deflate
Actions

Also available in: Atom