summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2015-11-21 20:41:06 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-12-21 14:12:33 +0000
commite1693595443f0a7b6974c065219b7b474dea2bee (patch)
treef2655a1f52853f2d804dd92d1625e63da32accc4 /officecfg
parentf3f90b6490298fdf79d5f9e19c788f0b69e0818e (diff)
Related tdf#90700 Add configuration for web connection timeout.
Currently the connection timeout is governed by operating system default. LO timeouts will be used in place of the TCP socket operating system ones, only in operating system where this is currently possible. The timeouts to use can be changed in LO configuration: 'Tools > Options > Advanced > Expert Configuration'. Propriety names are ConnectTimeout and ReadTimeout. ConnectTimeout contains the timeout (in seconds) used when making a connection (max 180 s, min 2 s, default 20 s). ReadTimeout contains the timeout (in seconds) used when reading from a socket (max 180 s, min 20 s, default 60 s). Change-Id: Ide69ab137274c3bf71332b6e76666151ecac1f1e Reviewed-on: https://gerrit.libreoffice.org/20195 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 14220052ef2b8675ee12aad63b0402f023d9760a) Reviewed-on: https://gerrit.libreoffice.org/20742 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Inet.xcs12
1 files changed, 12 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Inet.xcs b/officecfg/registry/schema/org/openoffice/Inet.xcs
index e6c1f7b2a99d..f5dcc6a817ac 100644
--- a/officecfg/registry/schema/org/openoffice/Inet.xcs
+++ b/officecfg/registry/schema/org/openoffice/Inet.xcs
@@ -151,6 +151,18 @@
</maxInclusive>
</constraints>
</prop>
+ <prop oor:name="ConnectTimeout" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the timeout when first open a connection to a Web/WebDAV server. Time in seconds. Minimum allowed 5 sec maximum 180 sec.</desc>
+ </info>
+ <value>20</value>
+ </prop>
+ <prop oor:name="ReadTimeout" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the timeout when waiting for data from a Web/WebDAV server. Time in seconds. Minimum allowed 20 sec maximum 180 sec.</desc>
+ </info>
+ <value>60</value>
+ </prop>
</group>
</component>
</oor:component-schema>