about summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2019-08-07T19·14-0400
committerGraham Christensen <graham@grahamc.com>2019-08-08T14·22-0400
commita02457db715a80de7630d823fd8d7230a4bd451f (patch)
treebbca88be36bf7216f032cb56440ca73f753faae7 /doc/manual
parent1eeaf99cf89630f84b4a1b6882a0f98019725d9e (diff)
conf: stalled-download-timeout: make tunable
Make curl's low speed limit configurable via stalled-download-timeout.
Before, this limit was five minutes without receiving a single byte.
This is much too long as if the remote end may not have even
acknowledged the HTTP request.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/command-ref/conf-file.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index c7b540892f9a..1325a3f22253 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -873,6 +873,14 @@ password <replaceable>my-password</replaceable>
 
   </varlistentry>
 
+  <varlistentry xml:id="conf-stalled-download-timeout"><term><literal>stalled-download-timeout</literal></term>
+    <listitem>
+      <para>The timeout (in seconds) for receiving data from servers
+      during download. Nix cancels idle downloads after this timeout's
+      duration.</para>
+    </listitem>
+  </varlistentry>
+
   <varlistentry xml:id="conf-substituters"><term><literal>substituters</literal></term>
 
     <listitem><para>A list of URLs of substituters, separated by