[Bug 381384] Re: mod_deflate with mod_fastcgi gives wrong content-length header

Martin von Gagern martin.vgagern at gmx.net
Thu May 28 17:07:25 UTC 2009


http://thread.gmane.org/gmane.comp.web.fastcgi.devel/2613 indicates
another approach towards a solution, and it seems that a variation of it
has been committed to some mod_fastcgi repository (though not the git at
http://repo.or.cz/w/mod_fastcgi.git). It's also available in a snapshot
dated 0811090952, but hasn't been officially released yet. The chunk in
question is this one:

                 continue;
             }
+            
+            if (strcasecmp(name, "Content-Length") == 0) {
+                ap_table_set(r->headers_out, name, value);
+               continue;
+            }
 
             /* If the script wants them merged, it can do it */
             ap_table_add(r->err_headers_out, name, value);

-- 
mod_deflate with mod_fastcgi gives wrong content-length header
https://bugs.launchpad.net/bugs/381384
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list