allow to set buffer size for server

This commit is contained in:
Chunting Gu
2020-12-21 17:53:36 +08:00
parent ca83869912
commit c2f3a87cd2
7 changed files with 26 additions and 12 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ private:
bool ParseMultipartContent(const char* data, std::size_t length);
bool ParsePartHeaders(bool* need_more_data);
bool GetNextBoundaryLine(std::size_t* b_off, std::size_t* b_count,
bool* ended);
bool GetNextBoundaryLine(std::size_t* b_off, std::size_t* b_len, bool* ended);
// Check if the str.substr(off, count) is a boundary.
bool IsBoundary(const std::string& str, std::size_t off,