SOURCES: lighttpd-bug-1877.patch (NEW) - do not copy Proxy-Connection heade...

glen glen at pld-linux.org
Fri Jan 16 18:08:45 CET 2009


Author: glen                         Date: Fri Jan 16 17:08:45 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- do not copy Proxy-Connection header to backend proxy server

---- Files affected:
SOURCES:
   lighttpd-bug-1877.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/lighttpd-bug-1877.patch
diff -u /dev/null SOURCES/lighttpd-bug-1877.patch:1.1
--- /dev/null	Fri Jan 16 18:08:45 2009
+++ SOURCES/lighttpd-bug-1877.patch	Fri Jan 16 18:08:39 2009
@@ -0,0 +1,10 @@
+--- lighttpd-1.4.20/src/mod_proxy.c~	2009-01-16 19:00:15.000000000 +0200
++++ lighttpd-1.4.20/src/mod_proxy.c	2009-01-16 19:06:16.130587778 +0200
+@@ -454,6 +454,7 @@
+ 
+ 		if (ds->value->used && ds->key->used) {
+ 			if (buffer_is_equal_string(ds->key, CONST_STR_LEN("Connection"))) continue;
++			if (buffer_is_equal_string(ds->key, CONST_STR_LEN("Proxy-Connection"))) continue;
+ 
+ 			buffer_append_string_buffer(b, ds->key);
+ 			buffer_append_string_len(b, CONST_STR_LEN(": "));
================================================================


More information about the pld-cvs-commit mailing list