[Modify] Polish it
This commit is contained in:
parent
35384a9d31
commit
3088a51a6b
@ -498,6 +498,7 @@ namespace WebSocketSharp.Net
|
|||||||
_outputStream.Close (true);
|
_outputStream.Close (true);
|
||||||
|
|
||||||
close ();
|
close ();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -505,11 +506,13 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
if (_context.Response.CloseConnection) {
|
if (_context.Response.CloseConnection) {
|
||||||
close ();
|
close ();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_context.Request.FlushInput ()) {
|
if (!_context.Request.FlushInput ()) {
|
||||||
close ();
|
close ();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -518,6 +521,7 @@ namespace WebSocketSharp.Net
|
|||||||
init ();
|
init ();
|
||||||
|
|
||||||
_reuses++;
|
_reuses++;
|
||||||
|
|
||||||
BeginReadRequest ();
|
BeginReadRequest ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user