mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
BUG/MEDIUM: stream_interface: Call the wake callback after sending.
If we subscribed to send, and the callback is called, call the wake callback after, so that process_stream() may be woken up if needed. This is 1.9-specific, no backport is needed.
This commit is contained in:
parent
fab7c7e91c
commit
80c56790d9
@ -764,8 +764,10 @@ struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state)
|
|||||||
|
|
||||||
if (!cs)
|
if (!cs)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (!(si->wait_list.wait_reason & SUB_CAN_SEND))
|
if (!(si->wait_list.wait_reason & SUB_CAN_SEND)) {
|
||||||
si_cs_send(cs);
|
si_cs_send(cs);
|
||||||
|
si_cs_wake_cb(cs);
|
||||||
|
}
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user