From c71b9fa6a197db1657aac41f8fd2994f23364d3b Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Sat, 12 Jun 2010 16:35:37 +0000 Subject: Fix hanging replication. COUCHDB-793. Thanks Filipe and Paul Bonser. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954027 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_rep_att.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/couchdb/couch_rep_att.erl') diff --git a/src/couchdb/couch_rep_att.erl b/src/couchdb/couch_rep_att.erl index be10acc8..28b8945c 100644 --- a/src/couchdb/couch_rep_att.erl +++ b/src/couchdb/couch_rep_att.erl @@ -54,7 +54,7 @@ attachment_receiver(Ref, Request) -> receive_data(Ref, ReqId, ContentEncoding) end catch - throw:{attachment_request_failed, timeout} -> + throw:{attachment_request_failed, _} -> case {Request#http_db.retries, Request#http_db.pause} of {0, _} -> ?LOG_INFO("request for ~p failed", [Request#http_db.resource]), -- cgit v1.2.3