commit | 08b4d79d314f3dcc052cc650c83f8dbc00f04b8a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Oct 27 01:36:34 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Oct 27 01:36:34 2012 +0200 |
tree | cf851f548c4edad1378a493d7e6816c7702aaba5 | |
parent | 70737d142fd13ffc6a25f8c4199e4b10f9886461 [diff] |
BUG: compression: disable auto-close and enable MSG_MORE during transfer We don't want the lower layer to forward a close while we're compressing, and we want the system to fuse outgoing TCP segments using MSG_MORE as much as possible to save round trips that can emerge from sending short packets with a PUSH flag. A test on a remote busy DSL line consisting in compressing a 100MB file on the fly full of zeroes only showed a transfer rate of a few kB/s due to these round trips.