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 16:59:03 UTC

svn commit: r1053658 - /couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl

Author: kocolosk
Date: Wed Dec 29 15:59:03 2010
New Revision: 1053658

URL: http://svn.apache.org/viewvc?rev=1053658&view=rev
Log:
Ignore closed connection after _changes are downloaded

Closes COUCHDB-993

Modified:
    couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl

Modified: couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl?rev=1053658&r1=1053657&r2=1053658&view=diff
==============================================================================
--- couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl (original)
+++ couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl Wed Dec 29 15:59:03 2010
@@ -227,6 +227,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};