[WIP] Make sndbuf|recbuf undefined
diff --git a/src/api/server/configuration.rst b/src/api/server/configuration.rst
index f3d63db..29499f4 100644
--- a/src/api/server/configuration.rst
+++ b/src/api/server/configuration.rst
@@ -84,7 +84,7 @@
"docroot": "./share/www",
"port": "5984",
"require_valid_user": "false",
- "socket_options": "[{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]"
+ "socket_options": "[{recbuf, undefined}, {sndbuf, undefined}, {nodelay, true}]"
},
"daemons": {
"auth_cache": "{couch_auth_cache, start_link, []}",
diff --git a/src/config/http.rst b/src/config/http.rst
index 2d82d1c..25d322f 100644
--- a/src/config/http.rst
+++ b/src/config/http.rst
@@ -136,7 +136,7 @@
as a list of tuples. For example::
[httpd]
- socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
+ socket_options = [{recbuf, undefined}, {sndbuf, undefined}, {nodelay, true}]
The options supported are a subset of full options supported by the
TCP/IP stack. A list of the supported options are provided in the
diff --git a/src/config/replicator.rst b/src/config/replicator.rst
index 7e7a80d..b9ab6b3 100644
--- a/src/config/replicator.rst
+++ b/src/config/replicator.rst
@@ -120,8 +120,8 @@
Some socket options that might boost performance in some scenarios:
- ``{nodelay, boolean()}``
- - ``{sndbuf, integer()}``
- - ``{recbuf, integer()}``
+ - ``{sndbuf, integer()|undefined}``
+ - ``{recbuf, integer()|undefined}``
- ``{priority, integer()}``
See the `inet`_ Erlang module's man page for the full list of options::