Fixed issue with stopping ibrowse
diff --git a/CHANGELOG b/CHANGELOG
index b5b83da..06b36a0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,8 @@
CONTRIBUTIONS & CHANGE HISTORY
==============================
+31-01-2012 - v3.0.2
+ * Fixed bug when stopping ibrowse. Not service affecting.
+
23-01-2012 - v3.0.1
* Fixed bug highlighted by Dialyzer
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 8072a48..3d23712 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -30,6 +30,7 @@
Richard Cameron
Ryan Zezeski
Sean Hinde
+Sergey Samokhi
Seth Falcon
Steve Vinoski
Thomas Lindgren
diff --git a/README.md b/README.md
index e4a9773..204b9bd 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
**Comments to:** chandrashekhar.mullaparthi@gmail.com
-**Current Version:** 3.0.1
+**Current Version:** 3.0.2
**Latest Version:** git://github.com/cmullaparthi/ibrowse.git
diff --git a/src/ibrowse.app.src b/src/ibrowse.app.src
index 67155ee..027beb3 100644
--- a/src/ibrowse.app.src
+++ b/src/ibrowse.app.src
@@ -1,6 +1,6 @@
{application, ibrowse,
[{description, "HTTP client application"},
- {vsn, "3.0.1"},
+ {vsn, "3.0.2"},
{modules, [ ibrowse,
ibrowse_http_client,
ibrowse_app,
diff --git a/src/ibrowse_lb.erl b/src/ibrowse_lb.erl
index 7bf1fb5..f6e1493 100644
--- a/src/ibrowse_lb.erl
+++ b/src/ibrowse_lb.erl
@@ -112,7 +112,7 @@
{stop, normal, State};
handle_call(stop, _From, #state{ets_tid = Tid} = State) ->
- ets:foldl(fun({{_, Pid}, _}, Acc) ->
+ ets:foldl(fun({Pid, _, _}, Acc) ->
ibrowse_http_client:stop(Pid),
Acc
end, [], Tid),