diff --git a/NEWS b/NEWS index 7ac8f805..6a9d9edd 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/src/mod_proxy.c b/src/mod_proxy.c index 85a3581b..92549e2f 100644 --- a/src/mod_proxy.c +++ b/src/mod_proxy.c @@ -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(": "));