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
Channel.write future not called when SslHandler is used #1464
Comments
I have the same identical problem. ch.write("Client is closing").sync(); never returns. |
I did some test and also the sample SecureChatClient does not work. Start the secure chat server: java -cp netty-all-4.0.0.CR5.jar:../netty-example-4.0.0.CR5.jar io.netty.example.securechat.SecureChatServer Start the client: java -cp netty-all-4.0.0.CR5.jar:../netty-example-4.0.0.CR5.jar io.netty.example.securechat.SecureChatClient localhost 8443 type: bye Client is blocked. Name: main Stack trace: |
@scramjet @masarlabs I just pushed a fix... Can you retry with latest master ? |
Now it works. |
All good here now too. Thanks for the quick fix! |
Thanks for confirm the fix :) Am 21.06.2013 um 08:58 schrieb Matthew notifications@github.com:
|
…e using SslHandler
I have some code that was previously working in 4.0.0.CR1, that I've ported to CR5. The code relies on standard "send and close" logic like:
This has started failing in CR5 (the listener is never called), but only when SslHandler is at the top of the stack. Removing SSL, but keeping everything else the same fixes the issue.
It may or may not be relevant that I'm also using a MessageToMessage codec, which I see has been the subject of bad interactions with SSL before (issue #1222).
Any ideas?
The text was updated successfully, but these errors were encountered: