]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] tcp_request: let the caller take care of errors and timeouts
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Mar 2009 21:55:47 +0000 (22:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 15 Mar 2009 21:55:47 +0000 (22:55 +0100)
commit86ef7dc98da4a19ced1a73d0e7e352b4823ae6f2
treec79ec24197e26861ebf57370fbf55e0b9605781b
parent844553303dc4bc31c49b13826591b0fd69866a07
[MINOR] tcp_request: let the caller take care of errors and timeouts

tcp_request is not meant to decide how an error or a timeout has to
be handled. It must just apply it rules. Now that the error checks
have been added to the session, we don't need to check them anymore
in tcp_request_inspect(), which will only consider the shutdown which
may be the result of such an error.

That makes a lot more sense since tcp_request is not really waiting
for a request.
src/proto_tcp.c