]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h2: headers-type frames in HREM are always a connection error
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2019 08:43:32 +0000 (09:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2019 14:27:06 +0000 (15:27 +0100)
commit5b4eae33dee01224f0ece9db0891ca7a1fb2805d
treea72e2feefcbb07c79d2daa008002417affce3880
parent113c7a2794a86e658faf80b000a5d849f30e299e
BUG/MINOR: mux-h2: headers-type frames in HREM are always a connection error

There are incompatible MUST statements in the HTTP/2 specification. Some
require a stream error and others a connection error for the same situation.
As discussed in the thread below, let's always apply the connection error
when relevant (headers-like frame in half-closed(remote)) :

  https://mailarchive.ietf.org/arch/msg/httpbisa/pOIWRBRBdQrw5TDHODZXp8iblcE

This must be backported to 1.9, possibly to 1.8 as well.
src/mux_h2.c