mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +02:00
BUG/MEDIUM: streams: Don't forget to remove the si from the wait list.
When freeing the stream, make sure we remove the stream interfaces from the wait lists, in case it was in there. This is 1.9-specific, no backport is needed.
This commit is contained in:
parent
3bcc2699ba
commit
18a85fe602
@ -409,7 +409,9 @@ static void stream_free(struct stream *s)
|
||||
session_free(sess);
|
||||
|
||||
tasklet_free(s->si[0].wait_list.task);
|
||||
LIST_DEL(&s->si[0].wait_list.list);
|
||||
tasklet_free(s->si[1].wait_list.task);
|
||||
LIST_DEL(&s->si[1].wait_list.list);
|
||||
pool_free(pool_head_stream, s);
|
||||
|
||||
/* We may want to free the maximum amount of pools if the proxy is stopping */
|
||||
|
Loading…
Reference in New Issue
Block a user