Skip to content
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

NIO Assembler Thread is Sometimes Not Released to Thread Pool Between Messages [INT-3453] #7418

Closed
spring-operator opened this issue Jun 24, 2014 · 1 comment

Comments

@spring-operator
Copy link
Contributor

John Anderson opened INT-3453 and commented

When using TCP and NIO, an assembler thread can stuck in infinite loop in the getNextBuffer() method of ChannelInputStream. It can get out of the loop only when the client sends another message or the socket is closed. It happens if the convert() method is called before the writingToPipe flag is cleared but after all data in channelInputStream was read. Sorry, no test cases, because it happens randomly and only under heavy load. I'll create a pull request.


Affects: 3.0.3, 4.0.2

Referenced from: pull request #1185

Backported to: 3.0.4

@spring-operator
Copy link
Contributor Author

John Anderson commented

-Pull request: https: //github.com//pull/1182-

Replaced by #1185

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants