]> git.kaiwu.me - haproxy.git/commit
REGTEST: Add connection/proxy_protocol_send_unique_id_alpn
authorTim Duesterhus <tim@bastelstu.be>
Wed, 27 May 2020 10:58:43 +0000 (12:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 May 2020 11:29:56 +0000 (13:29 +0200)
commit9947f77a59068bffd11d1dd0215d3afa27ba85d5
tree5a8aa594045627033aa03c4b06b6fc41a971e15e
parent63a8738724948fe695335ec83224a03d19e943ae
REGTEST: Add connection/proxy_protocol_send_unique_id_alpn

This reg-test checks that sending unique IDs via PPv2 works for servers
with the `alpn` option specified (issue #640). As a side effect it also
checks that PPv2 works with ALPN (issue #651).

It has been verified that the test fails without the following commits
applied and succeeds with them applied.

   1f9a4ecea BUG/MEDIUM: backend: set the connection owner to the session when using alpn.
   083fd42d5 BUG/MEDIUM: connection: Ignore PP2 unique ID for stream-less connections
   eb9ba3cb2 BUG/MINOR: connection: Always get the stream when available to send PP2 line

Without the first two commits HAProxy crashes during execution of the
test. Without the last commit the test will fail, because no unique ID
is received.
reg-tests/connection/proxy_protocol_send_unique_id_alpn.vtc [new file with mode: 0644]