]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: checks: avoid setting SO_LINGER twice
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Dec 2013 01:36:25 +0000 (02:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Dec 2013 01:36:25 +0000 (02:36 +0100)
commit2d351b68c20693343433da07ad7bb26dc31161c5
tree532e962c449bf98a9fdca62c4c38db8bce8818da
parent06559ac1fbc3f1dbc778cba60fdc615bc277c5b1
OPTIM: checks: avoid setting SO_LINGER twice

We happened to preform this call twice on some checks, once in the
recv event handler, and another one in the main function. Remove
the one from the event handler which does not make any more sense
there.
src/checks.c