commit | 0c2fc1f39df79da92b9aaccca513a0c184af69a4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jan 18 15:30:37 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 18 15:48:52 2009 +0100 |
tree | d3c761a3676398268962d22be5815557167180e1 | |
parent | ac128fef7379cd53fdda9e80f94911fd873d2a08 [diff] |
[MEDIUM] split stream_sock_write() into callback and core functions stream_sock_write() has been split in two parts : - the poll callback, intented to be called when an I/O event has been detected - the write() core function, which ought to be usable from various other places, possibly not meant to wake the task up. The code has also been slightly cleaned up in the process. It's more readable now.