summaryrefslogtreecommitdiff
path: root/zen/http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/http.cpp')
-rw-r--r--zen/http.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/http.cpp b/zen/http.cpp
index 4fe43ede..a26bb3a5 100644
--- a/zen/http.cpp
+++ b/zen/http.cpp
@@ -47,7 +47,7 @@ public:
throw SysError(L"URL uses unexpected protocol.");
}();
- std::map<std::string, std::string, LessAsciiNoCase> headers;
+ std::unordered_map<std::string, std::string, StringHashAsciiNoCase, StringEqualAsciiNoCase> headers;
assert(postBuf || contentType.empty());
if (postBuf && !contentType.empty())
@@ -196,7 +196,7 @@ private:
InterruptibleThread worker_;
int64_t totalBytesReported_ = 0;
int statusCode_ = 0;
- std::map<std::string, std::string, LessAsciiNoCase> responseHeaders_;
+ std::unordered_map<std::string, std::string, StringHashAsciiNoCase, StringEqualAsciiNoCase> responseHeaders_;
const IoCallback notifyUnbufferedIO_; //throw X
};
bgstack15