]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: improve error handling around the data layer
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Sep 2012 12:12:03 +0000 (14:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Sep 2012 12:12:03 +0000 (14:12 +0200)
commit58363cf1931eff0d361c2d357c4d1bf379b4324e
tree36ee1a0a326615b46d3ef91ce36b2e91ea3b7567
parent184636e3e765eeb12f4887e1b82aef4ca6422264
MEDIUM: connection: improve error handling around the data layer

Better avoid calling the data functions upon error or handshake than
having to put conditions everywhere, which are too easy to forget (one
check for CO_FL_ERROR was missing, but this was harmless).
src/connection.c