summaryrefslogtreecommitdiff
path: root/zen/http.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-05-22 21:09:26 +0000
committerB. Stack <bgstack15@gmail.com>2022-05-22 21:09:26 +0000
commit54c2e44d7b37b2c3efc449e054eef21fa414dfde (patch)
tree3894ba7e10c78750c195381a861da5e8166a6bfd /zen/http.cpp
parentMerge branch 'b11.20' into 'master' (diff)
parentadd upstream 11.21 (diff)
downloadFreeFileSync-54c2e44d7b37b2c3efc449e054eef21fa414dfde.tar.gz
FreeFileSync-54c2e44d7b37b2c3efc449e054eef21fa414dfde.tar.bz2
FreeFileSync-54c2e44d7b37b2c3efc449e054eef21fa414dfde.zip
Merge branch 'b11.21' into 'master'11.21
add upstream 11.21 See merge request opensource-tracking/FreeFileSync!44
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