kerryjiang / WebSocket4Net

A popular .NET WebSocket Client
752 stars 272 forks source link

Stopping the Server process does not send a close status code. #166

Open matthewsanders opened 4 years ago

matthewsanders commented 4 years ago

WebSocket4Net - 0.15.2

If you stop the server process while a client is attached a ClosedEventArgs object is not created and the client will not receive the expected 1006 Abnormal Closure.

https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes

desginer commented 4 years ago

收到

At 2019-12-18 05:33:33, "Matthew Sanders" notifications@github.com wrote:

WebSocket4Net - 0.15.2

If you stop the server process while a client is attached a ClosedEventArgs object is not created and the client will not receive the expected 1006 Abnormal Closure.

https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.