forked from spring-projects/spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rather than clearing the interrupted flag, repairing the channel, and retrying the read, we now repair the channel and then rethrow the ClosedByInterruptException. This ensures that the channel can be read by other threads while also allowing the interruption of the current thread to continue.
- Loading branch information
1 parent
b4cabc4
commit 2aa1e3b
Showing
2 changed files
with
28 additions
and
14 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