-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix valence_network timeouts + other fixes (#421)
# Objective Make timeouts in `valence_network` per connection rather than per packet. # Solution - Remove timeouts from `PacketIo` and `try_handle_legacy_ping` call. - Add timeout to `handle_connection` call. - More consistent variable names. - Add missing disconnect message when protocol version mismatch occurs.
- Loading branch information
Showing
2 changed files
with
57 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters