Fix due to the modified HttpServer.cs

This commit is contained in:
sta
2012-09-11 13:21:47 +09:00
parent d0e5ae3979
commit 8e2a1ee1b3
62 changed files with 92 additions and 30 deletions

View File

@@ -677,9 +677,9 @@ namespace WebSocketSharp
{
close(CloseStatusCode.TOO_BIG, ex.Message);
}
catch (Exception ex)
catch (Exception)
{
close(CloseStatusCode.ABNORMAL, ex.Message);
close(CloseStatusCode.ABNORMAL, "An exception has been raised.");
}
}
@@ -1075,7 +1075,7 @@ namespace WebSocketSharp
catch (Exception ex)
{
error(ex.Message);
close(CloseStatusCode.HANDSHAKE_FAILURE, ex.Message);
close(CloseStatusCode.HANDSHAKE_FAILURE, "An exception has been raised.");
}
}