]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: htx: send the proper authenticate header when using http-request auth
authorJérôme Magnin <jmagnin@haproxy.com>
Fri, 28 Dec 2018 13:49:08 +0000 (14:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2018 14:48:12 +0000 (15:48 +0100)
commit86cef23266cff1d51fa23357b666dffc6a82ce73
tree626681bfd0e6844891a4e7f4420a2b2243723d2f
parent09e498f1a1720dfc29c6c443a038517251364920
BUG/MINOR: htx: send the proper authenticate header when using http-request auth

When we use htx and http-request auth rules, we need to send WWW-Authenticate
with a 401 and Proxy-Authenticate with a 407. We only sent Proxy-Authenticate
regardless of status, with htx enabled.

To be backported to 1.9.
src/proto_htx.c