commit | dc340a900d9d2e7258888ade8192796c36a8a389 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jun 28 23:10:19 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jun 28 23:10:19 2009 +0200 |
tree | be4d381231ae475300ee2e2f9097544d49cc108b | |
parent | 1a52dbda597768727273b7cea688c714ffd48b93 [diff] |
[MEDIUM] splice: set the capability on each stream_interface The splice code did not consider compatibility between both ends of the connection. Now we set different capabilities on each stream interface, depending on what the protocol can splice to/from. Right now, only TCP is supported. Thanks to this, we're now able to automatically detect when splice() is not implemented and automatically disable it on one end instead of reporting errors to the upper layer.