]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] process shutw during connection attempt
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Nov 2008 08:25:45 +0000 (09:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 27 Nov 2008 08:25:45 +0000 (09:25 +0100)
commit8bfa426cadfd6812823b563956ce7de3474e4589
treec26aad0da2c521362f27657f1f3c46b7d389f042
parentb38903cf3c99e2799ac9b3a3efbb1f083c5fb6f8
[MEDIUM] process shutw during connection attempt

It sometimes happens that a connection is aborted at the exact same moment
it establishes. We have to close the socket and not only to shut it down
for writes.

Some corner cases remain. We have to handle the shutr/shutw at the stream
interface and only report the status to the buffer, not the opposite.
src/proto_http.c
src/stream_sock.c