From f2bd95331c0e116f54429094af4d3fe24764b474 Mon Sep 17 00:00:00 2001 From: Kirilll Zaborsky Date: Wed, 27 May 2015 14:27:07 +0300 Subject: inets: proper stop for httpc_handler K-A queue failure httpc_handler should respond with proper {stop, Reason, State} message when sending request from keep-alive queue fails --- lib/inets/src/http_client/httpc_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/inets/src/http_client') diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl index f4f0c37570..9d832ef18b 100644 --- a/lib/inets/src/http_client/httpc_handler.erl +++ b/lib/inets/src/http_client/httpc_handler.erl @@ -1330,7 +1330,7 @@ handle_keep_alive_queue(#state{status = keep_alive, Session, <<>>, State#state{keep_alive = KeepAlive}); {error, Reason} -> - {stop, shutdown, {keepalive_failed, Reason}, State} + {stop, {shutdown, {keepalive_failed, Reason}}, State} end end end. -- cgit v1.2.3