commit | baf2a500a185fcaedede4510281be5d16a8dddde | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 07 16:38:26 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 07 16:39:51 2013 +0100 |
tree | 4900994626a0377c4390356f63af8d1cec54f791 | |
parent | 1c07b0755df77d5e9c867694c73c9338150a746a [diff] |
OPTIM: splice: detect shutdowns and avoid splice() == 0 Since last commit introducing EPOLLRDHUP, the splicing code is able to detect an incoming shutdown without calling splice() == 0. This avoids one useless syscall.