You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2010/04/12 01:56:59 UTC

svn commit: r933039 - /couchdb/trunk/src/couchdb/couch_rep.erl

Author: kocolosk
Date: Sun Apr 11 23:56:58 2010
New Revision: 933039

URL: http://svn.apache.org/viewvc?rev=933039&view=rev
Log:
bugfix for replication keepalive.  Closes COUCHDB-730

Modified:
    couchdb/trunk/src/couchdb/couch_rep.erl

Modified: couchdb/trunk/src/couchdb/couch_rep.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep.erl?rev=933039&r1=933038&r2=933039&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep.erl Sun Apr 11 23:56:58 2010
@@ -650,8 +650,7 @@ commit_to_both(Source, Target, RequiredS
 ensure_full_commit(#http_db{} = Target) ->
     Req = Target#http_db{
         resource = "_ensure_full_commit",
-        method = post,
-        body = true
+        method = post
     },
     {ResultProps} = couch_rep_httpc:request(Req),
     true = proplists:get_value(<<"ok">>, ResultProps),
@@ -676,7 +675,6 @@ ensure_full_commit(#http_db{} = Source, 
     Req = Source#http_db{
         resource = "_ensure_full_commit",
         method = post,
-        body = true,
         qs = [{seq, RequiredSeq}]
     },
     {ResultProps} = couch_rep_httpc:request(Req),