]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: connection: always send address-less LOCAL PROXY connections
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2020 10:54:10 +0000 (12:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2020 14:02:50 +0000 (16:02 +0200)
commit02c88036a61e09d0676a2b6b4086af677b023b94
tree969b600235e57fb459c1465175835c2e4ce78ad8
parent1b2988bc42c336623c14ab7aac9368c55df6e9d8
BUG/MINOR: connection: always send address-less LOCAL PROXY connections

Commit 7f26391bc5 ("BUG/MINOR: connection: make sure to correctly tag
local PROXY connections") revealed that some implementations do not
properly ignore addresses in LOCAL connections (at least Dovecot was
spotted). More context information in the thread below:

   https://www.mail-archive.com/haproxy@formilux.org/msg36890.html

The patch above was using LOCAL on top of local addresses in order to
minimize the risk of breakage but revealed worse than a clean fix. So
let's partially revert it and send pure LOCAL connections instead now.

After a bit of observation, this patch should be progressively backported
to stable branches. However if it reveals new breakage, the backport of
the patch above will have to be reverted from stable branches while other
products work on fixing their code based on the master branch.
src/connection.c