lucaspoffo/renet

`ConnectionReset` breaks `RenetServer::update()`

Closed this issue · 2 comments

On Windows, update() will throw Os { code: 10054, kind: ConnectionReset, message: "An existing connection was forcibly closed by the remote host." } if client forced connection closing (e.g, client crashed without sending disconnect packet).

I have the same issue on my machine (Windows). Renet doesn't seem to recognize clients that disconnect this way and will send error events every frame in bevy.

Fixed by bf49592
The server now handles this error.