]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] move the listener reference from fd to session
authorWilly Tarreau <w@1wt.eu>
Sun, 7 Dec 2008 15:45:10 +0000 (16:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Dec 2008 15:45:10 +0000 (16:45 +0100)
commitb5654f6ff425b5d2deadad84fe6f31fc10e9d5c6
treed6ece0c66216446ed8a3ffd8d54abd4bc0af3385
parent7e5067d459ab65b5595441fadc3448ec8ab2db28
[MINOR] move the listener reference from fd to session

The listener referenced in the fd was only used to check the
listener state upon session termination. There was no guarantee
that the FD had not been reassigned by the moment it was processed,
so this was a bit racy. Having it in the session is more robust.
include/types/fd.h
include/types/session.h
src/client.c
src/proto_tcp.c
src/proto_uxst.c