]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connections: Don't attempt to reuse an unusable connection.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 13 Dec 2018 17:01:00 +0000 (18:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Dec 2018 17:09:17 +0000 (18:09 +0100)
commita70e176843c64641598b68c6fe24311d4aeb92ca
tree294c0207311fbf4f66a2de5d99fa34951555bf53
parenta0883e6cd43e425a28aad2be1681e0120ad10f1e
BUG/MEDIUM: connections: Don't attempt to reuse an unusable connection.

Before trying to add a connection to the idle list, make sure it doesn't
have the error, the shutr or the shutw flag. If any of them is present,
don't bother trying to recycle the connection, it's going to be destroyed
anyway.
src/proto_http.c