-
Notifications
You must be signed in to change notification settings - Fork 646
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
Websocket client NettyContext.dispose() does not change disposed state #345
Comments
originally reported in rsocket/rsocket-java#492 |
@violetagg I have tested proposed change 51b33c3 on current master, and see |
@mostroverkhov this is because the
which means once the
because of this you see that the if you change the test to
then the |
So that's because my output stream completed to early - got it. Modified my example a bit and |
@mostroverkhov can you try the change from the PR #346 ? Thanks |
@violetagg tested branch |
thanks for testing |
…al bug reactor/reactor-netty#345, which prevented RSocket Netty-Websocket transport from sending its close event via onClose()
* * Possibility to reject setup by Server acceptor * Client Keep-alive data support * Client Keep-alive handler responds to Frames with `respond` flag set * Introduce RSocketFactory ClientOptions & ServerOptions * fix rare NoSuchElementException on Request-Response interaction * update reactor-netty to 0.7.8.RELEASE, fixing Websocket client critical bug reactor/reactor-netty#345, which prevented RSocket Netty-Websocket transport from sending its close event via onClose()
Expected behavior
Client
NettyContext.dispose()
should eventually lead toNettyContext.onClose()
completionNettyContext.isDisposed() = true
Actual behavior
NettyContext.onClose()
is not completedNettyContext.isDisposed() = false
Steps to reproduce
snippet
Reactor Netty version
0.7.6.RELEASE
JVM version (e.g.
java -version
)OS version (e.g.
uname -a
)The text was updated successfully, but these errors were encountered: