summaryrefslogtreecommitdiff
path: root/libcurl
diff options
context:
space:
mode:
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