diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/HttpParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/HttpParser.cpp b/src/net/HttpParser.cpp index befbc3b..3dd9215 100644 --- a/src/net/HttpParser.cpp +++ b/src/net/HttpParser.cpp @@ -149,7 +149,7 @@ string HttpParser::generateResponse(const string& data, const string& mimeType, return result; } -string HttpParser::parseHttp(bool isRequest, const string& data, map<string, string>& headers) { +string HttpParser::parseHttp(bool isRequest, const string& data, unordered_map<string, string>& headers) { bool onlyNewLineChar = false; size_t headerEnd = data.find("\r\n\r\n"); if (headerEnd == data.npos) { |