]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: connection: fold the error handling with handshake handling
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Nov 2013 07:41:15 +0000 (08:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Nov 2013 07:57:11 +0000 (08:57 +0100)
commitd6e999b127ff478a6eae0b7dcf8bf170404eac1c
tree7e7f9a676dedb4c72daf85c1b5a193919d1b2d7e
parent8c3d0be9877ba758e1f038f680d3a07177c24db5
OPTIM: connection: fold the error handling with handshake handling

Both of them are rare and are detected from the same flags source, so
let's detect errors in the handshake loop and remove two tests in the
fast path. This seems to improve overall performance by less than 0.5%
on connection-bound workloads.
src/connection.c