No title Revision 373862393834 (Mon Dec 20 2010 at 15:24) - Diff Link to this snippet: https://friendpaste.com/5lLJ0ORh3KPCm1xwwY8Tye Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 1234567891011121314diff --git a/src/couchdb/couch_rep_changes_feed.erl b/src/couchdb/couch_rep_changes_feed.erlindex 7f7d3a3..4d1afcb 100644--- a/src/couchdb/couch_rep_changes_feed.erl+++ b/src/couchdb/couch_rep_changes_feed.erl@@ -204,6 +204,9 @@ handle_info({ibrowse_async_response_end, Id}, #state{reqid=Id} = State) -> 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};