mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-19 10:14:41 +00:00
MINOR: mux-quic: Don't send an emtpy H3 DATA frame during zero-copy forwarding
It may only happens when there is no data to forward but a last stream frame must be sent with the FIN bit. It is not invalid, but it is useless to send an empty H3 DATA frame in that case.
This commit is contained in:
parent
9748df29ff
commit
6697e87ae5
@ -3058,7 +3058,8 @@ static size_t qmux_strm_done_ff(struct stconn *sc)
|
||||
goto end;
|
||||
}
|
||||
|
||||
data += sd->iobuf.offset;
|
||||
if (data)
|
||||
data += sd->iobuf.offset;
|
||||
total = qcs->qcc->app_ops->done_ff(qcs);
|
||||
|
||||
if (data || qcs->flags & QC_SF_FIN_STREAM)
|
||||
|
Loading…
Reference in New Issue
Block a user