- Do not pass Proxy-Connection: header from client to backend http server in mod_proxy (#1877)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2372 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.21
Elan Ruusamäe 15 years ago
parent 3d20850451
commit ce9409a397

@ -24,6 +24,7 @@ NEWS
* Use FD_CLOEXEC if possible (fixes #1821)
* Optimized buffer usage in mod_proxy (fixes #1850)
* Fix uninitialized value in time struct after strptime
* Do not pass Proxy-Connection: header from client to backend http server in mod_proxy (#1877)
- 1.4.20 - 2008-09-30

@ -454,6 +454,7 @@ static int proxy_create_env(server *srv, handler_ctx *hctx) {
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(": "));

Loading…
Cancel
Save