]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1: Return a 501-not-implemented for upgrade requests with a body
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 7 Dec 2020 17:17:33 +0000 (18:17 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Jan 2021 14:21:12 +0000 (15:21 +0100)
commit1d2d77b27f0ed5e05c4fc6b6fdc22fdb16589eef
tree729791f9e31c2a5cd66904157c4f7b70535f35cc
parent2eed800d54b1897b5305be8159bffd6c5c9ef2b6
MEDIUM: mux-h1: Return a 501-not-implemented for upgrade requests with a body

If an HTTP protocol upgrade request with a payload is received, a
501-not-implemented error is now returned to the client. It is valid from
the RFC point of view but will be incompatible with the way the H2
websockets will be handled by HAProxy. And it is probably a very uncommon
way to do perform protocol upgrades.
src/mux_h1.c