-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
poll: simplify poll socket handling.
Restores exception guards reduces duplication simplifies code - to use existing disposition logic. fixes unusual branch on function whitespace removes logged warning on timeout removes timeout handling from 'checkRemoval' - timeout does not imply removal; return value needs re-evaluating there. restores checkTimeout in its original location.i - unclear what extra 'setClosed' is good for. also removes 'checkRemoval' from ServerSocket sub-class etc. Signed-off-by: Michael Meeks <[email protected]> Change-Id: Ibb582ec5b2600c7ac7cf3b6aecbee39c43b214f8
- Loading branch information
Showing
2 changed files
with
15 additions
and
26 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