Skip to content

Commit

Permalink
handle ssl_closed message
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjia committed Sep 19, 2011
1 parent 605c48c commit 23bae10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mochiweb_http.erl
Expand Up @@ -63,6 +63,9 @@ request(Socket, Body) ->
{tcp_closed, _} ->
mochiweb_socket:close(Socket),
exit(normal);
{ssl_closed, _} ->
mochiweb_socket:close(Socket),
exit(normal);
_Other ->
handle_invalid_request(Socket)
after ?REQUEST_RECV_TIMEOUT ->
Expand Down

0 comments on commit 23bae10

Please sign in to comment.