]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] stream_sock: move the write-nothing condition out of the loop
authorWilly Tarreau <w@1wt.eu>
Fri, 9 Jan 2009 12:05:19 +0000 (13:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Jan 2009 12:05:19 +0000 (13:05 +0100)
commitac128fef7379cd53fdda9e80f94911fd873d2a08
tree183f678741a754f892a7851794c515d0d273c0a1
parentefc612c17b2320d09d26c36780faeb121ac66fe8
[CLEANUP] stream_sock: move the write-nothing condition out of the loop

Some tricks to handle situations where we write nothing were in the
middle of the main loop in stream_sock_write(). This cleanup provides
better source and object code, and slightly shrinks the output code.
src/stream_sock.c