aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2024-04-22 16:16:48 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2024-04-25 07:55:13 +0300
commit03e6336b571f8506c7703655ce74639ad28ac25c (patch)
treed05506d81cbd3196b6bd13afd3e96f6fa9743e87
parent42dcd6b3c7bc5b2ab4024f3f4a5595fa7fd6deb7 (diff)
HttpClient: increase maximum time the transfer is allowed to complete
Increase CURLOPT_TIMEOUT from 10s to 30s, as the old value might not be enough in all cases. Change-Id: Id26fb7063abcb3f271384b0014a78d6982ee0d2d Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
-rw-r--r--src/libs/qlicenseservice/httpclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qlicenseservice/httpclient.h b/src/libs/qlicenseservice/httpclient.h
index 21bca47..775fb43 100644
--- a/src/libs/qlicenseservice/httpclient.h
+++ b/src/libs/qlicenseservice/httpclient.h
@@ -10,7 +10,7 @@
#include <unordered_map>
#include <future>
-#define SERVER_CONN_TIMEOUT 10
+#define SERVER_CONN_TIMEOUT 30
#if _WIN32
#include "curl/curl.h"