On Sat, Apr 04, 2020 at 12:52:07PM +0200, Tim Düsterhus wrote:
> Hativ,
> Willy,
> 
> Am 04.04.20 um 12:41 schrieb Tim Düsterhus:
> > The Dovecot source code is here:
> > https://github.com/dovecot/core/blob/de9968d623e331a18b43dfe8a00421f72f7f7962/src/lib-master/master-service-haproxy.c#L354
> > 
> > A quick glance at the Dovecot code looks like Dovecot parses the proxy
> > protocol correctly with regard to TLVs.
> 
> I spoke too soon here. Dovecot ignores the addresses as it should for
> LOCAL (i.e. health check) connections [1] and then attempts to parse the
> TLV, interpreting the IP addresses as a TLV [2]. From my understanding
> HAProxy sends IP addresses for LOCAL connections for compatibility.

Do you think we ought to refrain from sending any address at all ?
I preferred to avoid possibly visible changes and apparently it didn't
go that well :-/

Willy

Reply via email to