]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connections: Don't directly mess with the polling from the upper layers.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 10 Oct 2018 13:46:36 +0000 (15:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 21 Oct 2018 03:58:40 +0000 (05:58 +0200)
commit53216e7db925b99f309051de3842f39e39788a7e
tree4c7007d3804f0dad0448d0f0f6d614ea9e6dce9d
parent81a15af6bc003dc247a87799b48162a37a0ae27f
MEDIUM: connections: Don't directly mess with the polling from the upper layers.

Avoid using conn_xprt_want_send/recv, and totally nuke cs_want_send/recv,
from the upper layers. The polling is now directly handled by the connection
layer, it is activated on subscribe(), and unactivated once we got the event
and we woke the related task.
include/proto/connection.h
include/proto/stream_interface.h
include/types/connection.h
src/checks.c
src/connection.c
src/mux_h2.c
src/mux_pt.c
src/stream.c
src/stream_interface.c