From: Amaury Denoyelle Date: Fri, 11 Dec 2020 16:53:04 +0000 (+0100) Subject: MINOR: mux_h2: define H2_SF_EXT_CONNECT_SENT stream flag X-Git-Tag: v2.4-dev7~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fb48ea7a43683df7a092f7215598324e548dee7;p=thirdparty%2Fhaproxy.git MINOR: mux_h2: define H2_SF_EXT_CONNECT_SENT stream flag This flag is used to signal that an Extended CONNECT has been sent by the server mux on the current stream. This will allow to convert the response to a 101 htx status message. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 8e7691e832..3565b7a19a 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -193,8 +193,9 @@ enum h2_ss { #define H2_SF_WANT_SHUTW 0x00010000 // a stream couldn't shutw() (mux full/busy) #define H2_SF_KILL_CONN 0x00020000 // kill the whole connection with this stream -#define H2_SF_TUNNEL_ABRT 0x00100000 // A tunnel attempt was aborted +#define H2_SF_EXT_CONNECT_SENT 0x00040000 // rfc 8441 an Extended CONNECT has been sent +#define H2_SF_TUNNEL_ABRT 0x00100000 // A tunnel attempt was aborted /* H2 stream descriptor, describing the stream as it appears in the H2C, and as * it is being processed in the internal HTTP representation (HTX).