Permalink
Browse files

Merge pull request #59 from wangjia/23bae1004d020e8baff628995aad4fcc7…

…8f3ee16

handle ssl_closed message
  • Loading branch information...
2 parents 605c48c + 23bae10 commit 62e460dbd424c35185636a4b39f0d9c4a3211de2 @etrepum etrepum committed Sep 19, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 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 ->

0 comments on commit 62e460d

Please sign in to comment.