]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: make use of conn_{data|sock}_{poll|stop|want}* in connection handlers
authorWilly Tarreau <w@1wt.eu>
Thu, 9 Aug 2012 12:45:22 +0000 (14:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:53:12 +0000 (21:53 +0200)
commitafad0e0f809adb3327f3c225028671b815caea94
tree0892041d4d7d9d7b0f8cbe68428c5ebe546dec9d
parentf9dabecd03860440ea0efde0db4061b5a7adffdf
MAJOR: make use of conn_{data|sock}_{poll|stop|want}* in connection handlers

This is a second attempt at getting rid of FD_WAIT_*. Now the situation is
much better since native I/O handlers can directly manipulate the FD using
fd_{poll|want|stop}_* and the connection handlers manipulate connection-level
flags using the conn_{data|sock}_* equivalent.

Proceeding this way ensures that the connection flags always reflect the
reality even after data<->handshake switches.
include/proto/connection.h
include/types/stream_interface.h
src/connection.c
src/proto_tcp.c
src/protocols.c
src/sock_raw.c
src/stream_interface.c