diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2020-07-16 10:44:41 -0400 |
---|---|---|
committer | Ashod Nakashian <ash@collabora.com> | 2020-08-11 20:11:14 +0200 |
commit | c5f9d605e433701680a533fa20a3390f1e7ff5eb (patch) | |
tree | a10f4f17fc2b0efb2eabee1ded5766a2071f3366 /kit | |
parent | b8fd4328afb4e0ed1dc93ecb6a4f8917455ccb5b (diff) |
wsd: make outgoing connection timeout configurable
The default Poco connection timeout is 60 seconds,
which is probably excessive. The current configurable
default is a more reasonable 30 seconds.
Currently we set this timeout on Storage connections
going out (i.e. WOPI connections).
Change-Id: Ie80a9141ca9bf721addc74baf94e62e0ad72fdd2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98913
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ash@collabora.com>
Diffstat (limited to 'kit')
-rw-r--r-- | kit/Kit.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kit/Kit.cpp b/kit/Kit.cpp index 2ad1c545a..42af4b531 100644 --- a/kit/Kit.cpp +++ b/kit/Kit.cpp @@ -43,7 +43,6 @@ #include <Poco/Exception.h> #include <Poco/JSON/Object.h> #include <Poco/JSON/Parser.h> -#include <Poco/Net/HTTPClientSession.h> #include <Poco/Net/HTTPRequest.h> #include <Poco/Net/HTTPResponse.h> #include <Poco/Net/NetException.h> |