Thanks Willy, I appreciate the clue and your helpful intention - unfortunately this isn't something I can personally do owing to lack of knowledge. I don't know whether the v1 implementation had been a community patch or something Wietse or Viktor have done.
On 12/31/19 8:35 AM, Willy Tarreau wrote: > On Tue, Dec 31, 2019 at 08:21:05AM +0100, Tamás Gérczei wrote: >> Thanks Wietse, this is what I thought and found out during my >> experiments,That said, now knowing that only v1 is supported, may I ask >> whether you have considered implementing v2 support? I'm about to >> migrate to a setup where I'm behind a load balancer that only speaks v2. > Maybe you can try to implement v2 support ? Parsing v2 when v1 is already > supported is quite easy, especially at the same level of support (i.e. no > TLV field support for TLS or whatever). You can have a look at > conn_recv_proxy() in haproxy:src/connection.c which supports the two > versions. Feel free to steal any code I wrote there, if that helps :-) > > Regards, > Willy