commit | 663c09ce05406727f84accb4c13d96e69de0bb1b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 14 15:46:49 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 21 10:13:37 2021 +0200 |
tree | 0a452f9e2000d4fb6ad68b7b44e24accc35f737d | |
parent | 5dfe7dccd4b4051256e30d4652a6b889e73e2239 [diff] |
MINOR: connection: Make bc_http_major compatible with tcp-checks bc_http_major sample fetch now works when it is called from a tcp-check. When it happens, the session origin is a check. The backend connection is retrieved from the conn-stream attached to the check. If required, this path may easily be backported as far as 2.2. (cherry picked from commit 242f8ce060e4d77da16ae43a58598a28b556ee5b) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>