Skip to content

Fix TcpNioConnection timedOut set when close. #2938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2019

Conversation

xiexin36
Copy link
Contributor

No description provided.

@artembilan
Copy link
Member

Sounds like a good catch!

Merging and cherry-picking to all the supported and effected versions.

Thank you!

@artembilan artembilan merged commit cd5b3b1 into spring-projects:5.1.x May 28, 2019
@garyrussell
Copy link
Contributor

I was going to add a test for this - if we had had a test, we would have caught it before now.

garyrussell added a commit to garyrussell/spring-integration that referenced this pull request May 28, 2019
Close connection in `TcpNioConnection.testInsufficientThreads()`.
Before the fix, this would block for 200 seconds, causing the assert
on the future completion to fail.
garyrussell added a commit to garyrussell/spring-integration that referenced this pull request May 28, 2019
Close connection in `TcpNioConnection.testInsufficientThreads()`.
Before the fix, this would block for 200 seconds, causing the assert
on the future completion to fail.
garyrussell added a commit to garyrussell/spring-integration that referenced this pull request May 28, 2019
Close connection in `TcpNioConnection.testInsufficientThreads()`.
Before the fix, this would block for 15 seconds, causing the assert
on the future completion to fail.
artembilan pushed a commit that referenced this pull request May 28, 2019
Close connection in `TcpNioConnection.testInsufficientThreads()`.
Before the fix, this would block for 15 seconds, causing the assert
on the future completion to fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants