commit | c2aa71108a441ced47c98efffa1d9bb008b15d26 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Tue Sep 11 18:27:21 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 12 17:37:55 2018 +0200 |
tree | 4bd7e40d9d246334815459a4d87464aee9dbb966 | |
parent | 8ae735da05f1be8f4bd5590b656af5782f027596 [diff] |
MEDIUM: stream_interfaces: Starts receiving from the upper layers. Instead of waiting for the connection layer to let us know we can read, attempt to receive as soon as process_stream() is called, and subscribe to receive events if we can't receive yet. Now, except for idle connections, the recv(), send() and wake() methods are no more, all the lower layers do is waking tasklet for anybody waiting for I/O events.