mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-25 01:10:59 -04:00
fix -m with QUIC
see the comments
This commit is contained in:
parent
ff434c5a19
commit
faea9078a5
1 changed files with 6 additions and 1 deletions
|
|
@ -1259,7 +1259,12 @@ struct task *hld_strm_task(struct task *t, void *context, unsigned int state)
|
|||
/* Note that the user task will release all the expired streams
|
||||
* attached to it.
|
||||
*/
|
||||
task_wakeup(usr->task, TASK_WOKEN_IO);
|
||||
/* Note that for QUIC, the number of available streams is not
|
||||
* incremented as soon as a stream is completed (fin=1).
|
||||
* For H1, here this number is always 0.
|
||||
*/
|
||||
if (!url->cfg->is_quic || hs->conn->mux->avail_streams(hs->conn))
|
||||
task_wakeup(usr->task, TASK_WOKEN_IO);
|
||||
|
||||
LIST_DELETE(&hs->list);
|
||||
hldstream_free(&hs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue