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.
This commit is contained in:
Amaury Denoyelle 2022-04-22 16:52:14 +02:00
parent b710415e75
commit f6df6b440a

View File

@ -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);