commit | 4d9b1dee9f15406c87d73181a7cf8b177b68452b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jan 07 20:10:39 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 09 10:15:02 2009 +0100 |
tree | f6773ac13690aa73898656feb48253f1a0ab49f3 | |
parent | dcef33fa9b9cdc9637b1fc3abbe2b21198d18f29 [diff] |
[MEDIUM] stream_sock: factor out the return path in case of no-writes Previously, we wrote nothing only if the buffer was empty. Now with send_max, we can also write nothing because we are not allowed to send anything due to send_max. The code starts to look like spaghetti. It needs to be rearranged a lot before merging the splice patches.