]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: only mark connections private if NTLM is detected
authorLukas Tribus <lukas@ltri.eu>
Sat, 27 Oct 2018 18:06:59 +0000 (20:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 27 Oct 2018 20:10:29 +0000 (22:10 +0200)
commitfd9b68c48ecdba5e7971899f4eec315c8e3a3cfe
tree3cbb3446aa1716a138d1eb0262551970ab8009f8
parentede3d884fc34a600ab0b450002bba1a33d873aa6
BUG/MINOR: only mark connections private if NTLM is detected

Instead of marking all connections that see a 401/407 response private
(for connection reuse), this patch detects a RFC4559/NTLM authentication
scheme and restricts the private setting to those connections.

This is so we can reuse connections with 401/407 responses with
deterministic load balancing algorithms later (which requires another fix).

This fixes the problem reported here by Elliot Barlas :

  https://discourse.haproxy.org/t/unable-to-configure-load-balancing-per-request-over-persistent-connection/3144

Should be backported to 1.8.
doc/configuration.txt
src/proto_http.c