Permalink
Browse files

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.
  • Loading branch information...
1 parent 6947cab commit 8a3e76c9c95e3043c313eeef5f0c0855a09d62a7 @davisp davisp committed Oct 12, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 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}}

0 comments on commit 8a3e76c

Please sign in to comment.