Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B59BC10CBB for ; Thu, 13 Feb 2014 10:14:23 +0000 (UTC) Received: (qmail 96843 invoked by uid 500); 13 Feb 2014 10:14:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 96692 invoked by uid 500); 13 Feb 2014 10:14:20 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 96662 invoked by uid 99); 13 Feb 2014 10:14:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 10:14:19 +0000 Date: Thu, 13 Feb 2014 10:14:19 +0000 (UTC) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-2059) CouchDB replicator sends urls that are too long for comfort MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900187#comment-13900187 ] Robert Newson commented on COUCHDB-2059: ---------------------------------------- hah, well; -define(MAX_URL_LEN, 7000). We can make that a config thing. > CouchDB replicator sends urls that are too long for comfort > ----------------------------------------------------------- > > Key: COUCHDB-2059 > URL: https://issues.apache.org/jira/browse/COUCHDB-2059 > Project: CouchDB > Issue Type: Bug > Security Level: public(Regular issues) > Components: Replication > Reporter: Isaac Z. Schlueter > > I have my couchdb behind an TLS terminator. Like most HTTP servers, it has a limit on how long URLs can be, and that limit is far smaller than the 6-12KB urls that the CouchDB replicator is sending. > https://gist.github.com/isaacs/0010221834a3491d6481 > http://cl.ly/image/3N192G293j1R > This is a bug, right? > For added frustration: > 1. The replication never goes into a failed state. Just stays "triggered" forever, doing nothing, hung at 77%. > 2. The logs are indented with over 6000 spaces. I've been known to do some crazy code formatting in my time, but this is too extreme, and makes reading the log unnecessarily difficult. > Suggestion: > Limit the length of URLs that the replicator will use to something more reasonable, such as 1024 bytes. If more data than that is required, send it in the body of the request. -- This message was sent by Atlassian JIRA (v6.1.5#6160)