summaryrefslogtreecommitdiff
path: root/www/apache/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache/patches/patch-ap')
-rw-r--r--www/apache/patches/patch-ap18
1 files changed, 0 insertions, 18 deletions
diff --git a/www/apache/patches/patch-ap b/www/apache/patches/patch-ap
deleted file mode 100644
index d5473184712..00000000000
--- a/www/apache/patches/patch-ap
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ap,v 1.4.4.1 2004/09/30 13:58:22 agc Exp $
-
---- src/modules/proxy/proxy_http.c.orig 29 Mar 2004 17:47:15 -0000 1.106
-+++ src/modules/proxy/proxy_http.c 11 Jun 2004 07:54:38 -0000 1.107
-@@ -485,6 +485,13 @@
- content_length = ap_table_get(resp_hdrs, "Content-Length");
- if (content_length != NULL) {
- c->len = ap_strtol(content_length, NULL, 10);
-+
-+ if (c->len < 0) {
-+ ap_kill_timeout(r);
-+ return ap_proxyerror(r, HTTP_BAD_GATEWAY, ap_pstrcat(r->pool,
-+ "Invalid Content-Length from remote server",
-+ NULL));
-+ }
- }
-
- }