summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2020-09-14 11:01:54 -0400
committerNick Vatamaniuc <vatamane@apache.org>2020-09-14 11:01:54 -0400
commitbe80e84f5ac27a787a7af14af1c1661eaaa34568 (patch)
treedf7c51cd18189c0239e6cf0710bc2d41657f92b2
parent3e87da9600400f5e5c7c34cbd9396211872a0d87 (diff)
downloadcouchdb-be80e84f5ac27a787a7af14af1c1661eaaa34568.tar.gz
[fixup|_parse] reformat sock_opts
-rw-r--r--src/couch_replicator/src/couch_replicator_parse.erl15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/couch_replicator/src/couch_replicator_parse.erl b/src/couch_replicator/src/couch_replicator_parse.erl
index fad94f801..5996ec507 100644
--- a/src/couch_replicator/src/couch_replicator_parse.erl
+++ b/src/couch_replicator/src/couch_replicator_parse.erl
@@ -27,8 +27,19 @@
-define(DEFAULT_SOCK_OPTS, "[{keepalive, true}, {nodelay, false}]").
-define(VALID_SOCK_OPTS, [
- buffer, delay_send, exit_on_close, ipv6_v6only, keepalive, nodelay, recbuf,
- send_timeout, send_timout_close, sndbuf, priority, tos, tclass
+ buffer,
+ delay_send,
+ exit_on_close,
+ ipv6_v6only,
+ keepalive,
+ nodelay,
+ recbuf,
+ send_timeout,
+ send_timout_close,
+ sndbuf,
+ priority,
+ tos,
+ tclass
]).
-define(VALID_PROXY_PROTOCOLS, [http, https, socks5]).
-define(CONFIG_DEFAULTS, [