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 SSL server greeting unit test #2437

Closed
wants to merge 1 commit into from
Closed

Nio SSL server greeting unit test #2437

wants to merge 1 commit into from

Conversation

jjYBdx4IL
Copy link

SSL clients waiting for Nio ssl servers to send a greeting, don't get one. Works with 3.8.1, and is broken in 3.9.0+.

@normanmaurer normanmaurer added this to the 3.9.1.Final milestone Apr 30, 2014
@normanmaurer
Copy link
Member

@jjYBdx4IL thanks for reporting. The problems seems to be introduced by commit 7347bfe ... Investigating now

normanmaurer pushed a commit that referenced this pull request Apr 30, 2014
#2437]

Motivation:
When writing data from a server before the ssl handshake completes may not be written at all to the remote peer
if nothing else is written after the handshake was done.

Modification:
Correctly try to write pending data after the handshake was complete

Result:
Correctly write out all pending data
normanmaurer pushed a commit that referenced this pull request Apr 30, 2014
#2437]

Motivation:
When writing data from a server before the ssl handshake completes may not be written at all to the remote peer
if nothing else is written after the handshake was done.

Modification:
Correctly try to write pending data after the handshake was complete

Result:
Correctly write out all pending data
normanmaurer pushed a commit that referenced this pull request Apr 30, 2014
#2437]

Motivation:
When writing data from a server before the ssl handshake completes may not be written at all to the remote peer
if nothing else is written after the handshake was done.

Modification:
Correctly try to write pending data after the handshake was complete

Result:
Correctly write out all pending data
normanmaurer pushed a commit that referenced this pull request Apr 30, 2014
#2437]

Motivation:
When writing data from a server before the ssl handshake completes may not be written at all to the remote peer
if nothing else is written after the handshake was done.

Modification:
Correctly try to write pending data after the handshake was complete

Result:
Correctly write out all pending data
normanmaurer pushed a commit that referenced this pull request Apr 30, 2014
#2437]

Motivation:
When writing data from a server before the ssl handshake completes may not be written at all to the remote peer
if nothing else is written after the handshake was done.

Modification:
Correctly try to write pending data after the handshake was complete

Result:
Correctly write out all pending data
@normanmaurer
Copy link
Member

@jjYBdx4IL fixed... Thanks for reporting

pulllock pushed a commit to pulllock/netty that referenced this pull request Oct 19, 2023
netty#2437]

Motivation:
When writing data from a server before the ssl handshake completes may not be written at all to the remote peer
if nothing else is written after the handshake was done.

Modification:
Correctly try to write pending data after the handshake was complete

Result:
Correctly write out all pending data
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.

None yet

2 participants