couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject git commit: Replicator: reduce maximum request line length
Date Thu, 17 Nov 2011 19:17:39 GMT
Updated Branches:
  refs/heads/1.1.x 05914bdf1 -> 3108a12ee


Replicator: reduce maximum request line length

COUCHDB-1340


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/3108a12e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/3108a12e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/3108a12e

Branch: refs/heads/1.1.x
Commit: 3108a12ee92e8d54ad9b19b74d7c66f32cf5ba0b
Parents: 05914bd
Author: Filipe David Borba Manana <fdmanana@apache.org>
Authored: Thu Nov 17 19:16:56 2011 +0000
Committer: Filipe David Borba Manana <fdmanana@apache.org>
Committed: Thu Nov 17 19:16:56 2011 +0000

----------------------------------------------------------------------
 src/couchdb/couch_rep_reader.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/3108a12e/src/couchdb/couch_rep_reader.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_rep_reader.erl b/src/couchdb/couch_rep_reader.erl
index 0dca225..aa22d0f 100644
--- a/src/couchdb/couch_rep_reader.erl
+++ b/src/couchdb/couch_rep_reader.erl
@@ -177,7 +177,7 @@ calculate_new_high_seq(State) ->
     hd(State#state.opened_seqs).
 
 split_revlist(Rev, {[CurrentAcc|Rest], BaseLength, Length}) ->
-    case Length+size(Rev)+3 >= 8192 of
+    case Length+size(Rev)+3 >= 7000 of
     false ->
         {[[Rev|CurrentAcc] | Rest], BaseLength, Length+size(Rev)+3};
     true ->


Mime
View raw message