]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: servers: Make assign_tproxy_address work when ALPN is set.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 17 Jan 2019 14:59:13 +0000 (15:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Jan 2019 18:18:20 +0000 (19:18 +0100)
commit09a0f039947c6fe1469d5246fa31247e9edef1d6
tree333f7525a1bbbfc657a4c59751e003ae1096c504
parentb07e7b4dc17b456a0eb0795a2f9c65bd57843dc5
BUG/MEDIUM: servers: Make assign_tproxy_address work when ALPN is set.

If an ALPN is set on the server line, then when we reach assign_tproxy_address,
the stream_interface's endpoint will be a connection, not a conn_stream,
so make sure assign_tproxy_address() handles both cases.

This should be backported to 1.9.
src/backend.c