Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 4877 invoked from network); 23 Aug 2010 16:20:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 16:20:42 -0000 Received: (qmail 26227 invoked by uid 500); 23 Aug 2010 16:20:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 26174 invoked by uid 500); 23 Aug 2010 16:20:41 -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 26166 invoked by uid 99); 23 Aug 2010 16:20:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 16:20:41 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 16:20:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7NGKHMg008520 for ; Mon, 23 Aug 2010 16:20:18 GMT Message-ID: <4872453.510761282580417758.JavaMail.jira@thor> Date: Mon, 23 Aug 2010 12:20:17 -0400 (EDT) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-868) Authenticated replication fails for docs with long revision histories In-Reply-To: <3887842.510491282578977123.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901464#action_12901464 ] Adam Kocoloski commented on COUCHDB-868: ---------------------------------------- I'm a little confused. The ticket refers to docs with long revision histories, but the patch deals with attachments. Does this patch actually fix a bug with long revision histories, or just one regarding attatchments that nrstott was bumping into on IRC? > Authenticated replication fails for docs with long revision histories > --------------------------------------------------------------------- > > Key: COUCHDB-868 > URL: https://issues.apache.org/jira/browse/COUCHDB-868 > Project: CouchDB > Issue Type: Bug > Components: Replication > Affects Versions: 1.0, 1.0.1 > Environment: Linux, Erlang R13B04 > Reporter: Jason Smith > Assignee: Filipe Manana > Attachments: 0001-Correctly-redirect-during-authenticated-replication.patch > > > The old bug of forgetting the Authorization header still happens, apparently with documents attachments. I think the request for _design%2fddoc/attachment is bounced and the subsequent request simply follows the `Location` header without adding the credentials again. > It looks like couch_rep_att:validate_headers/3 simply follows the "Location" header instead of doing what couch_rep_httpc's smarter `redirect_url/2` -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.