Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #59 from wangjia/23bae1004d020e8baff628995aad4fcc7…

…8f3ee16

handle ssl_closed message
  • Loading branch information...
commit 62e460dbd424c35185636a4b39f0d9c4a3211de2 2 parents 605c48c + 23bae10
@etrepum etrepum authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/mochiweb_http.erl
View
3  src/mochiweb_http.erl
@@ -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 ->
Please sign in to comment.
Something went wrong with that request. Please try again.