Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pruning: set connection state to TerminatedState
When pruning we can set the state to TerminatedState and then cancel the connection handler thread, which will recognise this connection to be pruned. Note that this avoids our application level WAIT_TIME interval.
- Loading branch information
Showing
2 changed files
with
97 additions
and
38 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