Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Make Protocol take control of the socket object passed in. | Chris Wilson | 2014-03-01 |
| | | | | | | | | | | | | | We pass a std::auto_ptr<SocketStream> to every Protocol subclass when we construct it, and it takes control of this object. This reduces the risk of: * accidentally reusing the same SocketStream for multiple Protocols (it happened to me in testbackupstore); * holding onto a reference to the SocketStream; * allowing a locally-scoped SocketStream to go out of scope and be released while still being referenced by a live Protocol. | ||
* | Add experimental "TCP Nice" mode, disabled by default. | Chris Wilson | 2012-02-12 |