aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-02-02 10:36:05 +0100
committerIngela Anderton Andin <[email protected]>2017-02-02 10:36:05 +0100
commit1052f7a8d76d5774a1b4e1a3809031aa5aae491c (patch)
tree4f2aa07b22d89de4c864e70133b1582008d22b8a
parente62531ff7d78a99bb42405d5b6dc6b11f9e50109 (diff)
parent2efa6a87b1045b62a831d61e1826522f1a3dd30f (diff)
downloadotp-1052f7a8d76d5774a1b4e1a3809031aa5aae491c.tar.gz
otp-1052f7a8d76d5774a1b4e1a3809031aa5aae491c.tar.bz2
otp-1052f7a8d76d5774a1b4e1a3809031aa5aae491c.zip
Merge branch 'maint'
-rw-r--r--lib/inets/src/http_server/httpd_request_handler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_server/httpd_request_handler.erl b/lib/inets/src/http_server/httpd_request_handler.erl
index 7e20a9ba67..82273c8c74 100644
--- a/lib/inets/src/http_server/httpd_request_handler.erl
+++ b/lib/inets/src/http_server/httpd_request_handler.erl
@@ -241,9 +241,9 @@ handle_info({tcp_closed, _}, State) ->
handle_info({ssl_closed, _}, State) ->
{stop, normal, State};
handle_info({tcp_error, _, _} = Reason, State) ->
- {stop, Reason, State};
+ {stop, {shutdown, Reason}, State};
handle_info({ssl_error, _, _} = Reason, State) ->
- {stop, Reason, State};
+ {stop, {shutdown, Reason}, State};
%% Timeouts
handle_info(timeout, #state{mfa = {_, parse, _}} = State) ->