Am 18.07.2018 um 04:25 schrieb Willy Tarreau:
> What I would suggest would be to only "upgrade" the addresses to IPv6
> if either side already is on IPv6, but never downgrade from IPv6 to
> IPv4 since v6-mapped v4 addresses can exist on both sides for a valid
> reason.

This would solve the issue for my use case and should not break anything
(a few UNKNOWNs will become TCP6 then).

I can rework the patch, if technical changes look good to you. There's a
ton of memcpy in there to not destroy the data structures needed for the
actual communication: make_proxy_line() now always operates on a copy of
`struct connection remote`.

I could not find a better solution and already thought hard about the
current version.

Best regards
Tim Düsterhus

Reply via email to