From: Frédéric Lécaille Date: Sun, 29 May 2022 09:48:58 +0000 (+0200) Subject: MINOR: quic: Do not drop packets with RESET_STREAM frames X-Git-Tag: v2.6.0~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e06ca65e8dd15f8ae199b1c596ac4f4536a848ac;p=thirdparty%2Fhaproxy.git MINOR: quic: Do not drop packets with RESET_STREAM frames If the connection client timeout has expired, the mux is released. If the client decides to initiate a new request, we send a STOP_SENDING frame. Then, the client endessly sends a RESET_STREAM frame. At this time, we simulate the fact that we support the RESET_STREAM frame thanks to this ridiculously minimalistic patch. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 115339eeec..dbadfbe262 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -2454,7 +2454,11 @@ static int qc_parse_pkt_frms(struct quic_rx_packet *pkt, struct ssl_sock_ctx *ct } break; } + case QUIC_FT_RESET_STREAM: + /* TODO: handle this frame at STREAM level */ + break; case QUIC_FT_STOP_SENDING: + /* TODO: handle this frame at STREAM level */ break; case QUIC_FT_CRYPTO: {