haproxy/reg-tests/http-messaging
Christopher Faulet 3f5fbe9407 BUG/MEDIUM: h1: Improve authority validation for CONNCET request
From time to time, users complain to get 400-Bad-request responses for
totally valid CONNECT requests. After analysis, it is due to the H1 parser
performs an exact match between the authority and the host header value. For
non-CONNECT requests, it is valid. But for CONNECT requests the authority
must contain a port while it is often omitted from the host header value
(for default ports).

So, to be sure to not reject valid CONNECT requests, a basic authority
validation is now performed during the message parsing. In addition, the
host header value is normalized. It means the default port is removed if
possible.

This patch should solve the issue #1761. It must be backported to 2.6 and
probably as far as 2.4.
2022-07-07 09:35:58 +02:00
..
common.pem MINOR: server: add ws keyword 2021-11-03 16:24:48 +01:00
h1_host_normalization.vtc BUG/MEDIUM: h1: Improve authority validation for CONNCET request 2022-07-07 09:35:58 +02:00
h1_to_h1.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
h2_desync_attacks.vtc REGTESTS: add a test to prevent h2 desync attacks 2021-08-17 10:22:20 +02:00
h2_to_h1.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
http_abortonclose.vtc REGTESTS: http_abortonclose: Extend supported versions 2022-06-07 08:21:54 +02:00
http_bodyless_response.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
http_msg_full_on_eom.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
http_request_buffer.vtc REGTESTS: http_request_buffer: Increase client timeout to wait "slow" clients 2022-06-02 14:12:18 +02:00
http_splicing.vtc REGTESTS: h1: Add a script to validate H1 splicing support 2021-12-01 11:47:08 +01:00
http_transfer_encoding.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
http_wait_for_body.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
protocol_upgrade.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
scheme_based_normalize.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
srv_ws.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
websocket.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00