From 7c55ac9fc6c05d67a24459a1b5ad49e2dadefb90 Mon Sep 17 00:00:00 2001 From: maruthavanan Date: Fri, 7 Dec 2012 16:14:40 +0530 Subject: [PATCH] Update src/ibrowse_lb.erl ets update counter throws exception when the corresponding process has already shutdown. Added line fee to L248 --- src/ibrowse_lb.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ibrowse_lb.erl b/src/ibrowse_lb.erl index 69f4661..316e8e2 100644 --- a/src/ibrowse_lb.erl +++ b/src/ibrowse_lb.erl @@ -247,7 +247,8 @@ find_best_connection(Pid, Tid, Max_pipe) -> find_best_connection(ets:next(Tid, Pid), Tid, Max_pipe); _ -> {ok, Pid} - end; _ -> + end; +_ -> find_best_connection(ets:next(Tid, Pid), Tid, Max_pipe) end.