incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: syntax for changing httpd socket_options on the fly
Date Wed, 26 Feb 2014 18:31:42 GMT
The socket options should be defined as Erlang list of tuples.
See the CouchDB docs
http://docs.couchdb.org/en/latest/config/http.html#httpd/socket_options
and Erlang inet man page:
http://www.erlang.org/doc/man/inet.html#setopts-2
--
,,,^..^,,,


On Wed, Feb 26, 2014 at 10:23 PM, Dave Benson <lahiker42@gmail.com> wrote:
> I'd like to set "nodelay" on our couchdb -- but i haven't found a syntax
> that works.
>
>     curl -X PUT http://localhost:5984/_config/httpd/socket_options -d
> '[{"nodelay": true}]'
>
> (the most obvious thing) gives a
>    {"error":"unknown_error","reason":"badarg"}
> response.
>
> ideas?

Mime
View raw message