summaryrefslogtreecommitdiff
path: root/src/net/BoostHttpOnlySslClient.cpp
diff options
context:
space:
mode:
authorllnulldisk <48621230+llnulldisk@users.noreply.github.com>2023-01-29 14:54:20 +0100
committerllnulldisk <48621230+llnulldisk@users.noreply.github.com>2023-01-29 14:54:20 +0100
commita8defacf2ba9bc3029b16af48a539553f873866b (patch)
tree8cea4cad5a8bc15e8213193743111f41a73e1461 /src/net/BoostHttpOnlySslClient.cpp
parent443b769670046340e266893e00f947c9ce37462f (diff)
Fix timeout issues (#251)
Diffstat (limited to 'src/net/BoostHttpOnlySslClient.cpp')
-rw-r--r--src/net/BoostHttpOnlySslClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/BoostHttpOnlySslClient.cpp b/src/net/BoostHttpOnlySslClient.cpp
index 6e59649..82bd897 100644
--- a/src/net/BoostHttpOnlySslClient.cpp
+++ b/src/net/BoostHttpOnlySslClient.cpp
@@ -52,7 +52,7 @@ string BoostHttpOnlySslClient::makeRequest(const Url& url, const vector<HttpReqA
struct timeval timeStruct;
// set the timeout to 20 seconds
- timeStruct.tv_sec = 20;
+ timeStruct.tv_sec = _timeout;
timeStruct.tv_usec = 0;
FD_ZERO(&fileDescriptorSet);