From 8a3e76c9c95e3043c313eeef5f0c0855a09d62a7 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Tue, 11 Oct 2011 19:55:58 -0500 Subject: 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. --- rel/overlay/etc/default.ini | 6 ++++++ 1 file changed, 6 insertions(+) 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}} -- cgit v1.2.3