You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2011/11/17 20:14:03 UTC

[1/2] git commit: Replicator: reduce maximum request line length

Updated Branches:
  refs/heads/master 2e486781a -> e0ae630f9


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/e0ae630f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e0ae630f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e0ae630f

Branch: refs/heads/master
Commit: e0ae630f95cc7ab391257757f8865fa646c7c1dd
Parents: ebb5c6d
Author: Filipe David Borba Manana <fd...@apache.org>
Authored: Thu Nov 17 18:16:08 2011 +0000
Committer: Filipe David Borba Manana <fd...@apache.org>
Committed: Thu Nov 17 18:16:08 2011 +0000

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/e0ae630f/src/couchdb/couch_api_wrap.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_api_wrap.erl b/src/couchdb/couch_api_wrap.erl
index d2f3b3a..7c3088a 100644
--- a/src/couchdb/couch_api_wrap.erl
+++ b/src/couchdb/couch_api_wrap.erl
@@ -466,7 +466,7 @@ options_to_query_args([{open_revs, Revs} | Rest], Acc) ->
     options_to_query_args(Rest, [{"open_revs", JsonRevs} | Acc]).
 
 
--define(MAX_URL_LEN, 8192).
+-define(MAX_URL_LEN, 7000).
 
 atts_since_arg(_UrlLen, [], Acc) ->
     lists:reverse(Acc);