From 2aea9fcaca0f04aed8c3cc0f9ca9e627f60afdae Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Sun, 11 Apr 2010 23:56:58 +0000 Subject: bugfix for replication keepalive. Closes COUCHDB-730 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@933039 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_rep.erl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/couchdb/couch_rep.erl b/src/couchdb/couch_rep.erl index b7f87901..0f0613ba 100644 --- a/src/couchdb/couch_rep.erl +++ b/src/couchdb/couch_rep.erl @@ -650,8 +650,7 @@ commit_to_both(Source, Target, RequiredSeq) -> 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, RequiredSeq) -> Req = Source#http_db{ resource = "_ensure_full_commit", method = post, - body = true, qs = [{seq, RequiredSeq}] }, {ResultProps} = couch_rep_httpc:request(Req), -- cgit v1.2.3