]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] checks: don't report an error when recv() returns an error after data
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Mar 2010 19:55:43 +0000 (20:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Mar 2010 21:57:27 +0000 (22:57 +0100)
commitc1a07960a67789e1e01db14049892db1f040669a
treea7de3584c0117f92774ca1933159cefe22c67e94
parent2c7ace07ad1ced87daefb82744b3d417dd606e85
[BUG] checks: don't report an error when recv() returns an error after data

This happens when a server immediately closes the connection after
the response without lingering or when we close before the end of
the data. We get an RST which translates into a late error. We must
not declare an error without checking that the contents are OK.
src/checks.c