From f00d32dffa323ebff8a758119fbb5375cd574131 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 17 Oct 2005 10:37:11 +0000 Subject: Update "apache2" package to version 2.0.55. Patches supplied by Ben Collver. Addresses PR pkg/31817 by Zafer Aydogan. --- www/apache2/patches/patch-af | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 www/apache2/patches/patch-af (limited to 'www/apache2/patches/patch-af') diff --git a/www/apache2/patches/patch-af b/www/apache2/patches/patch-af deleted file mode 100644 index fef7cf4b529..00000000000 --- a/www/apache2/patches/patch-af +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-af,v 1.4 2005/08/08 18:30:26 tron Exp $ - ---- server/protocol.c.orig 2005/07/14 16:49:17 219060 -+++ server/protocol.c 2005/07/14 16:51:55 219061 -@@ -885,6 +885,15 @@ - apr_brigade_destroy(tmp_bb); - return r; - } -+ -+ if (apr_table_get(r->headers_in, "Transfer-Encoding") -+ && apr_table_get(r->headers_in, "Content-Length")) { -+ /* 2616 section 4.4, point 3: "if both Transfer-Encoding -+ * and Content-Length are received, the latter MUST be -+ * ignored"; so unset it here to prevent any confusion -+ * later. */ -+ apr_table_unset(r->headers_in, "Content-Length"); -+ } - } - else { - if (r->header_only) { -- cgit v1.2.3