]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream_interfaces: Starts receiving from the upper layers.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 11 Sep 2018 16:27:21 +0000 (18:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 15:37:55 +0000 (17:37 +0200)
commitc2aa71108a441ced47c98efffa1d9bb008b15d26
tree4bd7e40d9d246334815459a4d87464aee9dbb966
parent8ae735da05f1be8f4bd5590b656af5782f027596
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.
src/mux_h2.c
src/stream.c
src/stream_interface.c