diff options
author | B. Stack <bgstack15@gmail.com> | 2022-02-07 00:18:30 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-02-07 00:18:30 +0000 |
commit | 4cba562d787bfc92aeadbbc2ef199d4856523247 (patch) | |
tree | 374c62790fde0ce5514ef56750d0ff023d61b528 /zen/http.cpp | |
parent | Merge branch 'b11.16' into 'master' (diff) | |
parent | add upstream 11.17 (diff) | |
download | FreeFileSync-11.17.tar.gz FreeFileSync-11.17.tar.bz2 FreeFileSync-11.17.zip |
Merge branch 'b11.17' into 'master'11.17
add upstream 11.17
See merge request opensource-tracking/FreeFileSync!41
Diffstat (limited to 'zen/http.cpp')
-rw-r--r-- | zen/http.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/http.cpp b/zen/http.cpp index fe3b8c4c..6ce6c324 100644 --- a/zen/http.cpp +++ b/zen/http.cpp @@ -12,7 +12,7 @@ using namespace zen; -const std::chrono::seconds HTTP_ACCESS_TIME_OUT(20); +constexpr std::chrono::seconds HTTP_ACCESS_TIME_OUT(20); @@ -80,7 +80,7 @@ public: if (postBuf) { extraOptions.emplace_back(CURLOPT_POSTFIELDS, postBuf->c_str()); - extraOptions.emplace_back(CURLOPT_POSTFIELDSIZE_LARGE, postBuf->size()); //postBuf not necessarily null-terminated! + extraOptions.emplace_back(CURLOPT_POSTFIELDSIZE_LARGE, postBuf->size()); //postBuf not necessarily null-terminated! } //carefully with these callbacks! First receive HTTP header without blocking, |