Refine the streaming, add UT, add error handling.

This commit is contained in:
Chunting Gu
2019-08-09 16:10:16 +08:00
parent c669551552
commit feae9b7acc
17 changed files with 316 additions and 212 deletions
+4
View File
@@ -169,6 +169,10 @@ public:
void Dump(std::ostream& os, const std::string& prefix) const override;
const Path& path() const {
return path_;
}
// Move (or rename) the file.
// Used to move the streamed file of the received message to a new place.
// Applicable to both client and server.