marc 98/03/16 11:35:00
Modified: src CHANGES
src/modules/proxy proxy_http.c
Log:
We need to clear the Proxy-Connection header or connections can hang
when we are talking to a remote server that looks like an origin server
to us but is really being a reverse proxy, etc.
This shows what a dumb idea this header was to begin with.
PR: 1741
Revision Changes Path
1.717 +6 -1 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.716
retrieving revision 1.717
diff -u -r1.716 -r1.717
--- CHANGES 1998/03/16 16:18:50 1.716
+++ CHANGES 1998/03/16 19:34:56 1.717
@@ -1,6 +1,11 @@
Changes with Apache 1.3b6
- *) Various cleanups to the command line interface and manual pages
+ *) mod_proxy was not clearing the Proxy-Connection header from
+ requests; now it does. This did not violate any spec, however
+ causes poor interactions when you are talking to remote proxies.
+ [Marc Slemko] PR#1741
+
+ *) Various cleanups to the command line interface and manual pages.
[Ralf S. Engelschall]
*) cfg_getline() was not properly handling lines that did not end
1.42 +1 -0 apache-1.3/src/modules/proxy/proxy_http.c
Index: proxy_http.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/proxy/proxy_http.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- proxy_http.c 1998/03/04 10:58:09 1.41
+++ proxy_http.c 1998/03/16 19:34:59 1.42
@@ -135,6 +135,7 @@
char *name;
char *next = table_get(headers, "Connection");
+ table_unset(headers, "Proxy-Connection");
if (!next)
return;