[Modify] Polish it
This commit is contained in:
parent
7de8f735df
commit
0e77f996a7
@ -857,14 +857,13 @@ namespace WebSocketSharp
|
|||||||
// As server
|
// As server
|
||||||
private bool acceptHandshake ()
|
private bool acceptHandshake ()
|
||||||
{
|
{
|
||||||
var msg = String.Format (
|
_logger.Debug (
|
||||||
"A handshake request from {0}:\n{1}",
|
String.Format (
|
||||||
_context.UserEndPoint,
|
"A handshake request from {0}:\n{1}", _context.UserEndPoint, _context
|
||||||
_context
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
_logger.Debug (msg);
|
string msg;
|
||||||
|
|
||||||
if (!checkHandshakeRequest (_context, out msg)) {
|
if (!checkHandshakeRequest (_context, out msg)) {
|
||||||
_logger.Error (msg);
|
_logger.Error (msg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user