Refine the streaming, add UT, add error handling.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user