MAJOR: stream-int: handle the connection reuse in si_connect()
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Dec 2013 15:20:50 +0000 (16:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:53 +0000 (02:23 +0100)
commitb490b4e5ad7e0cbee085f72b2ea2ed1cbeb5ee07
tree8c4e1170204f375f50f9883782f51f1d5e8990b0
parent9471b8ced9daa52a30106e5dbb58f2283721ec27
MAJOR: stream-int: handle the connection reuse in si_connect()

This is the best place to reuse a connection. We centralize all
connection requests and we're at the best place to know exactly
what the current state of the underlying connection is. If the
connection is reused, we just enable polling for send() in order
to be able to emit the request.
include/proto/stream_interface.h