]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h2: reject extended connect for h2c protocol
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 1 Aug 2024 13:52:56 +0000 (15:52 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 1 Aug 2024 16:23:44 +0000 (18:23 +0200)
commit7a5a30d28a3ee100c62603f7212cc1b313c53311
treec95c1b546cc00b9f48b68cf33f64ff1b3f253f3e
parent7b89aa5b1943c1537a844cc375f7e8a86bac7942
BUG/MINOR: h2: reject extended connect for h2c protocol

This commit prevents forwarding of an HTTP/2 Extended CONNECT when "h2c"
or "h2" token is set as targetted protocol. Contrary to the previous
commit which deals with HTTP/1 mux, this time the request is rejected
and a RESET_STREAM is reported to the client.

This must be backported up to 2.4 after a period of observation.
reg-tests/http-messaging/protocol_upgrade.vtc
src/h2.c