couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1005117 - /couchdb/branches/new_replicator/src/couchdb/couch_api_wrap_httpc.erl
Date Wed, 06 Oct 2010 16:46:07 GMT
Author: fdmanana
Date: Wed Oct  6 16:46:07 2010
New Revision: 1005117

URL: http://svn.apache.org/viewvc?rev=1005117&view=rev
Log:
New replicator: add socket reuse address option.

Modified:
    couchdb/branches/new_replicator/src/couchdb/couch_api_wrap_httpc.erl

Modified: couchdb/branches/new_replicator/src/couchdb/couch_api_wrap_httpc.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/couch_api_wrap_httpc.erl?rev=1005117&r1=1005116&r2=1005117&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_api_wrap_httpc.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_api_wrap_httpc.erl Wed Oct  6 16:46:07
2010
@@ -35,7 +35,8 @@ send_req(#httpdb{headers = BaseHeaders} 
         {Else, Headers1}
     end,
     IbrowseOptions = [
-        {response_format, binary}, {inactivity_timeout, HttpDb#httpdb.timeout}
+        {response_format, binary}, {inactivity_timeout, HttpDb#httpdb.timeout},
+        {socket_options, [{reuseaddr, true}]}
         | get_value(ibrowse_options, Params, []) ++ HttpDb#httpdb.proxy_options
     ],
     Headers2 = oauth_header(HttpDb, Params) ++ BaseHeaders ++ Headers,



Mime
View raw message