-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
netty 5: reader stavation in nio & oio channel #2408
Comments
PS: forgot to mention that this is on the client side. That is, using Bootstrap. With ServerBootstrap all seems to work as expected. |
@rzo12345 could you share a reproducer or your code ? |
hello, to reproduce you can use the echo client/server example. change the client as follows:
|
PS: as you may see the the server echoes the messages received and writes them back. but client side channelRead is never invoked. |
PS: i am testing on win XP. when the server is stopped, client side c.isActive() continues to return true. |
PS: if a sleep() is added to the while loop the client recognizes the termination of the connection |
hello, any progress on this issue ? |
@rzo12345 do you experience the same issue with Netty 4.x? |
I will close this for now. 5.0 was abandoned a while ago. Please open another issue if this problem exists on 4.1.x. |
hello,
on the same channel when there are continuous writes and some reads the read is never invoked, the only way to get a read invocation is to limit the write by adding Thread.sleep every x writes.
I did not have this issue with netty 3.
i tried setting the iorate to 99 but this did not help. i suppose its not an issue of the nio thread working on io/non-io tasks, but that for some reason data is not being read from the socket.
The text was updated successfully, but these errors were encountered: