]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: get rid of fdtab[].state and use connection->flags instead
authorWilly Tarreau <wtarreau@exceliance.fr>
Fri, 6 Jul 2012 08:17:53 +0000 (10:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:51:26 +0000 (21:51 +0200)
commit505e34a36d40a131c4d5cd8f63eac90dd305c8cb
treee623b559376b7cc479504a6948828a5b47b60b02
parent900bc93e24bf37f278cd7c2295092db1192cb961
MAJOR: get rid of fdtab[].state and use connection->flags instead

fdtab[].state was only used to know whether a connection was in progress
or an error was encountered. Instead we now use connection->flags to store
a flag for both. This way, connection management will be able to update the
connection status on I/O.
include/types/fd.h
src/checks.c
src/peers.c
src/proto_http.c
src/proto_tcp.c
src/proto_uxst.c
src/session.c
src/sock_raw.c