about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-11-01 22:01:45 +0000
committerEric Wong <normalperson@yhbt.net>2013-11-01 22:01:45 +0000
commit2260de380fc920f2d3108405ac3df5db7225a90e (patch)
tree2d4d9fd99a071ec5d273860f026db10588232b01 /Documentation
parent98b663091a919035ea85bc5273bfe4bd1aac2073 (diff)
downloadyahns-2260de380fc920f2d3108405ac3df5db7225a90e.tar.gz
This allows users to specify alternative temporary directories
in case buffers get too large for one filesystem to handle or
to give priority to some clients on certain ports.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/yahns_config.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt
index 77825c0..2505907 100644
--- a/Documentation/yahns_config.txt
+++ b/Documentation/yahns_config.txt
@@ -258,7 +258,7 @@ Ruby it is running under.
 
     Default: $stderr
 
-* input_buffering {:lazy|true|false}
+* input_buffering {:lazy|true|false}[, OPTIONS]
 
     This controls buffering of the HTTP request body.
 
@@ -280,6 +280,16 @@ Ruby it is running under.
 
     Default: true
 
+    The following OPTIONS may be specified:
+
+      + tmpdir: DIRECTORY
+
+        Specify an alternative temporary directory of input_buffering is
+        :lazy or true.  This can be used in case the normal temporary
+        directory is too small or busy to be used for input buffering.
+
+        Default: Dir.tmpdir (usually from TMPDIR env or /tmp)
+
 * listen ADDRESS [, OPTIONS]
 
     Adds an ADDRESS to the existing listener set.  May be specified more
@@ -404,7 +414,7 @@ Ruby it is running under.
 
     Default: uses the top-level logger
 
-* output_buffering BOOLEAN
+* output_buffering BOOLEAN [, OPTIONS]
 
     This enables or disables buffering of the HTTP response.  If enabled,
     buffering is only performed lazily.  In other words, buffering only
@@ -419,6 +429,16 @@ Ruby it is running under.
 
     Default: true
 
+    The following OPTIONS may be specified:
+
+      + tmpdir: DIRECTORY
+
+        Specify an alternative temporary directory of output_buffering is
+        enabled.  This can be used in case the normal temporary directory
+        is too small or busy to be used for output buffering.
+
+        Default: Dir.tmpdir (usually from TMPDIR env or /tmp)
+
 * persistent_connections BOOLEAN
 
     Enable or disables persistent connections and pipelining for HTTP