-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Disconnect Dead Clients (#1724)
* feat: Disconnect Dead Clients * Moved code to NetworkConnectionToClient * Fixed type * WIP * Trying to solve the mystery of the Host * Updated Example * fixed comment whitespace * Final Cleanup and Unit Test * Removed extra warning * Reverted change to scene file * Changed to Play test, still not working * Added NetworkServer.Update time loop * Removed commented code * fixed comment * Filled in ServerDisconnect so it behaves as expected. * fixed comment * Renamed to bool IsClientAlive * Should be greater than * Added override that shouldn't be necessary. * changed asserts per Paul * Flipped < back * Shortened test time * Corrected comment * Lost the 1 * Updated NetworkServerTest * Update Assets/Mirror/Tests/Runtime/NetworkServerTest.cs * Added bool checkInactiveConnections * Tests for sync dictionary and sync set (#1753) * sync dictionary tests * rename * changing error message * sync set tests * silence unused method warning * test class name matches file name * test class name matches file name * test class name matches file name * test class name matches file name * test class name matches file name * test class name matches file name * test class name matches file name * Scope syncdict tests to their classes * Scope synclists tests to their classes * Scope syncset tests to their classes * test class name matches file name * Scope sample classes * test class name matches file name * fix: call the virtual OnRoomServerDisconnect before the base * fixed name * doc: Updated docs * Moved serverIdleTimeout to NetworkManager * fixed test to enable disconnectInactiveConnections * Copied disconnectInactiveConnections & serverIdleTimeout to NetworkServer Co-authored-by: James Frowen <jamesfrowendev@gmail.com> Co-authored-by: Paul Pacheco <paulpach@gmail.com>
- Loading branch information
1 parent
c1bacc3
commit a2eb666
Showing
10 changed files
with
122 additions
and
13 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
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
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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