]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http/htx: unbreak option http_proxy
authorWilly Tarreau <w@1wt.eu>
Thu, 18 Jul 2019 14:17:15 +0000 (16:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Jul 2019 14:49:11 +0000 (16:49 +0200)
commit69564b1c4999977633608e567866e624ec392171
tree9ddb81772ef6ad1bbe31a27915e82bcf21fc8dc0
parent0ba6c85a0b87d4c11940e8dacacdee8bf1005fa3
BUG/MEDIUM: http/htx: unbreak option http_proxy

The temporary connection used to hold the target connection's address
was missing a valid target, resulting in a 500 server error being
reported when trying to connect to a remote host. Strangely this
issue was introduced as a side effect of commit 2c52a2b9e ("MEDIUM:
connection: make mux->detach() release the connection") which at
first glance looks unrelated but solidly stops the bisection (note
that by default this part even crashes). It's suspected that the
error only happens when closing and destroys pending data in fact.

Given that this feature was broken very early during 1.8-rc1 development
it doesn't seem to be used often. This must be backported as far as 1.8.
src/proto_http.c
src/proto_htx.c