diff options
author | B Stack <bgstack15@gmail.com> | 2020-06-19 16:18:18 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-06-19 16:18:18 -0400 |
commit | b2801fb887fe40875b3ec90619b011b45c1d2796 (patch) | |
tree | fbbe856cbc0ba5a5d3a831f3ec514563cc69ecb1 /libcurl | |
parent | Merge branch '10.24' into 'master' (diff) | |
download | FreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.tar.gz FreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.tar.bz2 FreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.zip |
add upstream 10.25
Diffstat (limited to 'libcurl')
-rw-r--r-- | libcurl/rest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcurl/rest.cpp b/libcurl/rest.cpp index 9b609935..1f430ce3 100644 --- a/libcurl/rest.cpp +++ b/libcurl/rest.cpp @@ -119,7 +119,7 @@ HttpSession::Result HttpSession::perform(const std::string& serverRelPath, if (readRequest) { if (std::all_of(extraOptions.begin(), extraOptions.end(), [](const CurlOption& o) { return o.option != CURLOPT_POST; })) - options.emplace_back(CURLOPT_UPLOAD, 1L); //issues HTTP PUT + /**/options.emplace_back(CURLOPT_UPLOAD, 1L); //issues HTTP PUT options.emplace_back(CURLOPT_READDATA, &getBytesToSend); options.emplace_back(CURLOPT_READFUNCTION, getBytesToSendWrapper); } |