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
+1 -1
View File
@@ -15,7 +15,7 @@ public:
~RequestParser() override = default;
void Init(Request* request);
bool Init(Request* request, bool stream = false);
private:
bool ParseStartLine(const std::string& line) override;