ports/163199: Update www/mod_fastcgi to fix mod_deflate issue.
Gea-Suan Lin
gslin at gslin.org
Mon Dec 12 07:50:01 UTC 2011
>Number: 163199
>Category: ports
>Synopsis: Update www/mod_fastcgi to fix mod_deflate issue.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 12 07:50:00 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 7.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD colo-p.gslin.org 7.4-RELEASE FreeBSD 7.4-RELEASE #0: Thu Feb 17 03:51:56 UTC 2011 root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Include http://article.gmane.org/gmane.comp.web.fastcgi.devel/2613 patch
to avoid mod_deflate conflicting with mod_fastcgi in some cases.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/www/mod_fastcgi/Makefile mod_fastcgi/Makefile
--- /usr/ports/www/mod_fastcgi/Makefile 2011-08-21 01:27:42.000000000 +0800
+++ mod_fastcgi/Makefile 2011-12-12 15:39:23.000000000 +0800
@@ -7,7 +7,7 @@
PORTNAME= mod_fastcgi
PORTVERSION= 2.4.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.fastcgi.com/dist/
diff -ruN /usr/ports/www/mod_fastcgi/files/patch-mod_fastcgi.c mod_fastcgi/files/patch-mod_fastcgi.c
--- /usr/ports/www/mod_fastcgi/files/patch-mod_fastcgi.c 1970-01-01 08:00:00.000000000 +0800
+++ mod_fastcgi/files/patch-mod_fastcgi.c 2011-12-12 15:39:14.000000000 +0800
@@ -0,0 +1,14 @@
+--- mod_fastcgi.c.orig 2011-12-12 15:37:24.211384000 +0800
++++ mod_fastcgi.c 2011-12-12 15:37:50.565004000 +0800
+@@ -754,6 +754,11 @@
+ continue;
+ }
+
++ if (strcasecmp(name, "Content-Length") == 0) {
++ ap_set_content_length(r, strtol(value, NULL, 10));
++ continue;
++ }
++
+ /* If the script wants them merged, it can do it */
+ ap_table_add(r->err_headers_out, name, value);
+ continue;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list