mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-19 02:29:31 -05:00
BUG/MINOR: h3: fix GOAWAY emission
Since the rework of QUIC streams send scheduling, each stream has to be
inserted in QUIC-mux send-list to be able to emit content. This was not
the case for GOAWAY which prevent it to be sent. This regression has
been introduced by the following patch :
commit 20f2a425ff
MAJOR: mux-quic: rework stream sending priorization
This new patch fixes the issue by inserting H3 control stream in mux
send-list. The impact is deemed minor as for the moment GOAWAY is only
sent just before connection/mux cleanup with a CONNECTION_CLOSE.
However, it might cause some connections to hang up indefinitely.
This should be backported up to 2.7.
This commit is contained in:
parent
71fd03632f
commit
19adeb5640
1 changed files with 1 additions and 0 deletions
1
src/h3.c
1
src/h3.c
|
|
@ -1682,6 +1682,7 @@ static int h3_send_goaway(struct h3c *h3c)
|
|||
}
|
||||
|
||||
b_force_xfer(res, &pos, b_data(&pos));
|
||||
qcc_send_stream(qcs, 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue