couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r1053659 - /couchdb/branches/1.0.x/src/couchdb/couch_rep_changes_feed.erl
Date Wed, 29 Dec 2010 16:01:17 GMT
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};



Mime
View raw message