From 5344ea2a1a3bf8984f8c83b97414dfea5427bc05 Mon Sep 17 00:00:00 2001 From: jlo Date: Fri, 10 Dec 2010 11:15:48 +0100 Subject: [PATCH] - fix crash when requesting to close a stream connection. --- src/ibrowse_http_client.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ibrowse_http_client.erl b/src/ibrowse_http_client.erl index 4399fd8..7732254 100644 --- a/src/ibrowse_http_client.erl +++ b/src/ibrowse_http_client.erl @@ -197,7 +197,7 @@ handle_info({stream_close, _Req_id}, State) -> shutting_down(State), do_close(State), do_error_reply(State, closing_on_request), - {stop, normal, ok, State}; + {stop, normal, State}; handle_info({tcp_closed, _Sock}, State) -> do_trace("TCP connection closed by peer!~n", []),