handle ssl_closed message #59

Merged
merged 1 commit into from Sep 19, 2011
Jump to file or symbol
Failed to load files and symbols.
+3 −0
Split
View
@@ -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 ->