summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2010-04-11 23:56:58 +0000
committerAdam Kocoloski <kocolosk@apache.org>2010-04-11 23:56:58 +0000
commit2aea9fcaca0f04aed8c3cc0f9ca9e627f60afdae (patch)
treec6f8209d0d3abc2efe016e5cfd299f7d6c1d1af8
parentb4946c30a8df3326b53f58ab5c7e58dc49fa2ee8 (diff)
bugfix for replication keepalive. Closes COUCHDB-730
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@933039 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_rep.erl4
1 files changed, 1 insertions, 3 deletions
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),