haproxy/reg-tests/http-messaging
Willy Tarreau 644b3dc7d8 MAJOR: proxy: enable abortonclose by default on HTTP proxies
As discussed on https://github.com/orgs/haproxy/discussions/3146 and on
the mailing list, there's a marked preference for having abortonclose
enabled by default when relevant. The point being that with todays'
internet, the large majority of requests sent with a closed input
channel are aborted requests, and that it's pointless to waste resources
processing them.

This patch now considers both "option abortonclose" and its opposite
"no option abortonclose" to figure whether abortonclose is enabled or
disabled in a backend. When neither are set (thus not even inherited
from a defaults section), then it considers the proxy's mode, and HTTP
mode implies abortonclose by default.

This may make some legacy services fail starting with 3.3. In this case
it will be sufficient to add "no option abortonclose" in either the
affected backend or the defaults section it derives from. But for
internet-facing proxies it's better to stay with the option enabled.
2025-10-08 10:29:41 +02:00
..
common.pem MINOR: server: add ws keyword 2021-11-03 16:24:48 +01:00
h1_host_normalization.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
h1_request_target_validation.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
h1_to_h1.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
h2_desync_attacks.vtc REGTESTS: fix h2_desync_attacks to wait for the response 2025-10-08 10:29:41 +02:00
h2_to_h1.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
http_abortonclose.vtc MAJOR: proxy: enable abortonclose by default on HTTP proxies 2025-10-08 10:29:41 +02:00
http_bodyless_response.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
http_bodyless_spliced_response.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
http_request_buffer.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
http_splicing.vtc MEDIUM: stats: add persistent state to typed output format 2025-07-01 14:15:03 +02:00
http_splicing_chunk.vtc MEDIUM: stats: add persistent state to typed output format 2025-07-01 14:15:03 +02:00
http_transfer_encoding.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
http_wait_for_body.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
protocol_upgrade.vtc REGTESTS: http-messaging: fix the websocket and upgrade tests not to close early 2025-10-08 10:29:41 +02:00
scheme_based_normalize.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
srv_ws.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
truncated.vtc REGTESTS: restrict execution to a single thread group 2025-06-30 18:54:35 +02:00
websocket.vtc REGTESTS: http-messaging: fix the websocket and upgrade tests not to close early 2025-10-08 10:29:41 +02:00