]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] stream_sock: prepare for closing when all pending data are sent
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Dec 2009 07:02:56 +0000 (08:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Dec 2009 07:02:56 +0000 (08:02 +0100)
commit33b2db69a95e224bc4360020ed0215c3e04cb020
tree7d30bdef89d19650d6d8445aef5979c1479fbe8f
parent019fd5bc932e2527c4a7bf196903aa1055537c1f
[MINOR] stream_sock: prepare for closing when all pending data are sent

Since we'll soon be able to close a connection with remaining data in a
buffer, it becomes obvious that we can prepare to close when we're about
to send the last chunk of data and not the whole buffer.
src/stream_sock.c