]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: inform si_alloc_conn() whether existing conn is OK or not
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Dec 2013 12:31:35 +0000 (13:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:53 +0000 (02:23 +0100)
commit9471b8ced9daa52a30106e5dbb58f2283721ec27
tree1b2ba850a9e018751ae88b375a83a622523e2d70
parent16bfb021c844447a43aeb8d5b77e2d92cada9c7f
MEDIUM: connection: inform si_alloc_conn() whether existing conn is OK or not

When allocating a new connection, only the caller knows whether it's
acceptable to reuse the previous one or not. Let's pass this information
to si_alloc_conn() which will do the cleanup if the connection is not
acceptable.
include/proto/connection.h
include/proto/stream_interface.h
src/backend.c
src/proto_http.c