From f6df6b440a0bb22dd6964151b86d6142a8d7d5b5 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Fri, 22 Apr 2022 16:52:14 +0200 Subject: [PATCH] BUG/MINOR: mux-quic: fix POST with abortonclose Remove CS_EP_EOS set erroneously on qc_rcv_buf(). This fixes POST with abortonclose. Previously, request was preemptively aborted by haproxy due to the incorrect EOS flag. For the moment, EOS flag is not set anymore. It should be set to warn about a premature close from the client. --- src/mux_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux_quic.c b/src/mux_quic.c index 04f0c71ed..a2d84cd18 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -1273,7 +1273,7 @@ static size_t qc_rcv_buf(struct conn_stream *cs, struct buffer *buf, cs->endp->flags |= CS_EP_ERROR; if (fin) - cs->endp->flags |= (CS_EP_EOI|CS_EP_EOS); + cs->endp->flags |= CS_EP_EOI; if (b_size(&qcs->rx.app_buf)) { b_free(&qcs->rx.app_buf);