mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-12 00:39:32 +00:00
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:
parent
b710415e75
commit
f6df6b440a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user