haproxy/reg-tests/connection
Christopher Faulet da93802ffc BUG/MEDIUM: mux-h1: Don't release H1 stream upgraded from TCP on error
When an error occurred during the request parsing, the H1 multiplexer is
responsible to sent a response to the client and to release the H1 stream
and the H1 connection. In HTTP mode, it is not an issue because at this
stage the H1 connection is in embryonic state. Thus it can be released
immediately.

However, it is a problem if the connection was first upgraded from a TCP
connection. In this case, a stream-connector is attached. The H1 stream is
not orphan. Thus it must not be released at this stage. It must be detached
first. Otherwise a BUG_ON() is triggered in h1s_destroy().

So now, the H1S is destroyed on early errors but only if the H1C is in
embryonic state.

This patch may be related to #1966. It must be backported to 2.7.
2022-12-15 09:51:31 +01:00
..
cli_src_dst.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
common.pem
dispatch.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
http_reuse_aggressive.vtc MINOR: reg-tests: add http-reuse test 2021-01-26 14:48:39 +01:00
http_reuse_always.vtc REGTESTS: launch http_reuse_always in mworker mode 2022-08-22 13:09:40 +02:00
http_reuse_be_transparent.vtc REGTESTS: test http-reuse if no server target 2021-03-03 11:40:25 +01:00
http_reuse_conn_hash.vtc REGTESTS: revert workaround for a crash with recent libressl on http-reuse sni 2021-03-20 09:32:57 +01:00
http_reuse_dispatch.vtc REGTESTS: test http-reuse if no server target 2021-03-03 11:40:25 +01:00
http_reuse_never.vtc MINOR: reg-tests: add http-reuse test 2021-01-26 14:48:39 +01:00
http_reuse_safe.vtc MINOR: reg-tests: add http-reuse test 2021-01-26 14:48:39 +01:00
proxy_protocol_random_fail.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
proxy_protocol_send_unique_id_alpn.vtc
proxy_protocol_send_unique_id.vtc MINOR: connection: use proxy protocol as parameter for srv conn hash 2021-02-12 12:54:04 +01:00
proxy_protocol_tlv_validation.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
tcp_to_http_upgrade.vtc BUG/MEDIUM: mux-h1: Don't release H1 stream upgraded from TCP on error 2022-12-15 09:51:31 +01:00