summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2011-10-11 19:55:58 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2011-10-11 19:55:58 -0500
commit8a3e76c9c95e3043c313eeef5f0c0855a09d62a7 (patch)
tree09cf6e189a9630fd17e96f51d968befa10d40e46 /rel
parent6947cab38a20986e71b170d345682be9657cda1b (diff)
Document custom HTTP/socket options in default.ini
Part of the backport of COUCHDB-1008 to chttpd. This just updates the default.ini with some commented out options describing their availability to users.
Diffstat (limited to 'rel')
-rw-r--r--rel/overlay/etc/default.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 55371083..ef98fe09 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -17,6 +17,12 @@ port = {{cluster_port}}
backlog = 512
docroot = {{prefix}}/share/www
+; Options for the MochiWeb HTTP server.
+;server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
+
+; For more socket options, consult Erlang's module 'inet' man page.
+;socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
+
[chttps]
port = {{cluster_ssl}}