commit | 67b1e78f6818b121ffb8fc42c61fd2653b82fca7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Feb 26 20:08:13 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 20 19:21:43 2018 +0200 |
tree | 6e94b36e1f34f71a544396b27b03e268ade95cff | |
parent | 11c9aa424e2e4fd3e14f96559a68527550561cc1 [diff] |
MEDIUM: stream-int: automatically call si_cs_recv_cb() if the cs has data on wake() If the cs has data pending or shutdown and the input channel is still waiting for reads, let's simply call the recv() function from the wake() callback. This will allow the lower layers to simply wake the upper one up without having to consider the recv() nor anything else.