You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2010/12/29 17:01:17 UTC
svn commit: r1053659 -
/couchdb/branches/1.0.x/src/couchdb/couch_rep_changes_feed.erl
Author: kocolosk
Date: Wed Dec 29 16:01:17 2010
New Revision: 1053659
URL: http://svn.apache.org/viewvc?rev=1053659&view=rev
Log:
Ignore closed connection after _changes are downloaded
Closes COUCHDB-993
Modified:
couchdb/branches/1.0.x/src/couchdb/couch_rep_changes_feed.erl
Modified: couchdb/branches/1.0.x/src/couchdb/couch_rep_changes_feed.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/src/couchdb/couch_rep_changes_feed.erl?rev=1053659&r1=1053658&r2=1053659&view=diff
==============================================================================
--- couchdb/branches/1.0.x/src/couchdb/couch_rep_changes_feed.erl (original)
+++ couchdb/branches/1.0.x/src/couchdb/couch_rep_changes_feed.erl Wed Dec 29 16:01:17 2010
@@ -204,6 +204,9 @@ handle_info({ibrowse_async_response_end,
handle_info({'EXIT', From, normal}, #state{changes_loop=From} = State) ->
handle_feed_completion(State);
+handle_info({'EXIT', From, normal}, #state{conn=From, complete=true} = State) ->
+ {noreply, State};
+
handle_info({'EXIT', From, Reason}, #state{changes_loop=From} = State) ->
?LOG_ERROR("changes_loop died with reason ~p", [Reason]),
{stop, changes_loop_died, State};