diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-11 15:17:59 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-11 15:17:59 +0000 |
commit | 38c826621a39831d1bdc78aa9e45cc592db3e77f (patch) | |
tree | a49cfd729d9793681a57fa6f7409b0f0848e9ede /libcurl/curl_wrap.h | |
parent | Merge branch 'b11.25' into 'master' (diff) | |
parent | add upstream 11.26 (diff) | |
download | FreeFileSync-38c826621a39831d1bdc78aa9e45cc592db3e77f.tar.gz FreeFileSync-38c826621a39831d1bdc78aa9e45cc592db3e77f.tar.bz2 FreeFileSync-38c826621a39831d1bdc78aa9e45cc592db3e77f.zip |
Merge branch 'b11.26' into 'master'11.26
add upstream 11.26
See merge request opensource-tracking/FreeFileSync!49
Diffstat (limited to 'libcurl/curl_wrap.h')
-rw-r--r-- | libcurl/curl_wrap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcurl/curl_wrap.h b/libcurl/curl_wrap.h index 35ee54ba..ea91072c 100644 --- a/libcurl/curl_wrap.h +++ b/libcurl/curl_wrap.h @@ -53,8 +53,8 @@ public: }; Result perform(const std::string& serverRelPath, const std::vector<std::string>& extraHeaders, const std::vector<CurlOption>& extraOptions, - const std::function<void (std::span<const char> buf)>& writeResponse /*throw X*/, // - const std::function<size_t(std::span< char> buf)>& readRequest /*throw X*/, //optional + const std::function<void (std::span<const char> buf)>& writeResponse /*throw X*/, //optional + const std::function<size_t(std::span< char> buf)>& readRequest /*throw X*/, //optional; return "bytesToRead" bytes unless end of stream! const std::function<void (const std::string_view& header)>& receiveHeader /*throw X*/, int timeoutSec); //throw SysError, X |