mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-19 20:20:45 +00:00
MINOR: mux-quic: convert fin on push-frame as boolean
This is only useful to display a clear 0/1 value in the traces. This has no impact beyond this cosmetic change.
This commit is contained in:
parent
b938b77ade
commit
9296091cf7
@ -638,7 +638,7 @@ static int qc_send(struct qcc *qcc)
|
|||||||
|
|
||||||
if (b_data(buf) || b_data(out)) {
|
if (b_data(buf) || b_data(out)) {
|
||||||
int ret;
|
int ret;
|
||||||
char fin = qcs->flags & QC_SF_FIN_STREAM;
|
char fin = !!(qcs->flags & QC_SF_FIN_STREAM);
|
||||||
|
|
||||||
ret = qcs_push_frame(qcs, out, buf, fin, &frms,
|
ret = qcs_push_frame(qcs, out, buf, fin, &frms,
|
||||||
qcc->tx.sent_offsets + total);
|
qcc->tx.sent_offsets + total);
|
||||||
|
Loading…
Reference in New Issue
Block a user