summaryrefslogtreecommitdiff
path: root/libcurl
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-05-10 11:21:56 -0400
committerB. Stack <bgstack15@gmail.com>2024-05-10 11:21:56 -0400
commit7a5f22cfe87f938ef58f92b48ac379dc1c4c81c7 (patch)
tree3ed84995318afbd82d5d98a2ba044f9ba58b57c6 /libcurl
parentadd upstream 13.5 (diff)
downloadFreeFileSync-13.6.tar.gz
FreeFileSync-13.6.tar.bz2
FreeFileSync-13.6.zip
add upstream 13.613.6
Diffstat (limited to 'libcurl')
-rw-r--r--libcurl/curl_wrap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcurl/curl_wrap.cpp b/libcurl/curl_wrap.cpp
index 93edd44e..86b2efa2 100644
--- a/libcurl/curl_wrap.cpp
+++ b/libcurl/curl_wrap.cpp
@@ -5,11 +5,9 @@
// *****************************************************************************
#include "curl_wrap.h"
-#include <zen/sys_info.h>
#include <zen/http.h>
#include <zen/open_ssl.h>
#include <zen/thread.h>
-#include <zen/file_path.h>
#include <fcntl.h>
using namespace zen;
@@ -253,6 +251,8 @@ HttpSession::Result HttpSession::perform(const std::string& serverRelPath,
headers = ::curl_slist_append(headers, "Expect:"); //guess, what: www.googleapis.com doesn't support it! e.g. gdriveUploadFile()
//CURLOPT_EXPECT_100_TIMEOUT_MS: should not be needed
+ //CURLOPT_TCP_NODELAY => already set by default https://brooker.co.za/blog/2024/05/09/nagle.html
+
if (headers)
setCurlOption({CURLOPT_HTTPHEADER, headers}); //throw SysError
//---------------------------------------------------
bgstack15