]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] http: add support for Proxy-Connection header
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Jan 2010 11:15:43 +0000 (12:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Jan 2010 11:48:26 +0000 (12:48 +0100)
commit88d349d25dc9344c6e4354079b8fdf40ed40c5b7
tree3273a13687b9014836706d191472cbc51f4a12ab
parent6939b5522d67e79168f9d8d0131b79c8ec397d22
[MEDIUM] http: add support for Proxy-Connection header

Despite what is explicitly stated in HTTP specifications,
browsers still use the undocumented Proxy-Connection header
instead of the Connection header when they connect through
a proxy. As such, proxies generally implement support for
this stupid header name, breaking the standards and making
it harder to support keep-alive between clients and proxies.

Thus, we add a new "option http-use-proxy-header" to tell
haproxy that if it sees requests which look like proxy
requests, it should use the Proxy-Connection header instead
of the Connection header.
doc/configuration.txt
include/types/proto_http.h
include/types/proxy.h
src/cfgparse.c
src/proto_http.c