]> git.kaiwu.me - haproxy.git/commit
REGTESTS: update http_reuse_be_transparent with "transparent" deprecated
authorWilly Tarreau <w@1wt.eu>
Thu, 26 Jun 2025 12:28:36 +0000 (14:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Jun 2025 12:32:20 +0000 (14:32 +0200)
commit1d3ab10423c13a25685e17a09b0a173349b909f7
treee226174dd9c6289fda5d75fbbbc768a446b900f3
parente93f3ea3f854e36088aac304d37806a7c5f83420
REGTESTS: update http_reuse_be_transparent with "transparent" deprecated

With commit e93f3ea3f8 ("MEDIUM: proxy: deprecate the "transparent" and
"option transparent" directives") this one no longer works as the config
either has to be adjusted to use server 0.0.0.0 or to enable the deprecated
feature. The test used to validate a technical limitation ("transparent"
not supporting shared connections), indicated as being comparable to
"http-reuse never". Let's now duplicate the test for "http-reuse never"
and "http-reuse always" and validate both behaviors.

Take this opportunity to fix a few problems in this config:
  - use "nbthread 1": depending on the thread where the connection
    arrives, the connection may or may not be reused
  - add explicit URLs to the clients so that they can be recognized
    in the logs
  - add comments to make it clearer what to expect for each test
reg-tests/connection/http_reuse_be_transparent.vtc