From 5afc4c67578a7307a21a229a9b5a97b9af0c811d Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Wed, 18 Jan 2012 04:31:26 +0000 Subject: - Pull upstream patch 2613 so as not to conflict with mod_deflate [1] (http://article.gmane.org/gmane.comp.web.fastcgi) - Enable module by default [2] PR: ports/156251 [2] ports/163199 [1] Submitted by: Denny Lin [1] Gea-Suan Lin [2] With Hat: apache@ --- www/mod_fastcgi/files/patch-mod_fastcgi.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 www/mod_fastcgi/files/patch-mod_fastcgi.c (limited to 'www/mod_fastcgi/files/patch-mod_fastcgi.c') diff --git a/www/mod_fastcgi/files/patch-mod_fastcgi.c b/www/mod_fastcgi/files/patch-mod_fastcgi.c new file mode 100644 index 000000000000..4491acc6820f --- /dev/null +++ b/www/mod_fastcgi/files/patch-mod_fastcgi.c @@ -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; -- cgit v1.2.3