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. | ||
* | Use the new test utilities to remove some duplicate code. | Chris Wilson | 2014-02-27 |
| | | | | Fix previous changes by waiting for forked bbstored process during termination. | ||
* | Move test utilities into a separate file, to share with testbbackupd. | Chris Wilson | 2014-02-27 |