Skip to content

* Treat SSL NOT_HANDSHAKING as FINISHED.#1707

Closed
donv wants to merge 4 commits intomasterfrom
ssl_treat_not_handshaking_as_finished
Closed

* Treat SSL NOT_HANDSHAKING as FINISHED.#1707
donv wants to merge 4 commits intomasterfrom
ssl_treat_not_handshaking_as_finished

Conversation

@donv
Copy link
Member

@donv donv commented May 20, 2014

The code comment states that NOT_HANDSHAKING should be treated as FINISHED, but fails to reset the initialHandshake flag.

On Android, client connections complete OK in the NOT_HANDSHAKING state. This may be a bug on Android, but it has not changed since Android 2.3, and current source suggests it will stay that way ( https://android.googlesource.com/platform/libcore/+/master/luni/src/test/java/libcore/javax/net/ssl/SSLEngineTest.java )

The fix is to treat NOT_HANDSHAKING as FINISHED as per code comment. Tests run fine on OS X and travis as far as I can see.

@donv
Copy link
Member Author

donv commented May 20, 2014

The travis failure is the same as for master.

@donv
Copy link
Member Author

donv commented May 21, 2014

Committed the change.

@donv donv closed this May 21, 2014
@enebo enebo added this to the JRuby 1.7.13 milestone Jun 24, 2014
@donv donv deleted the ssl_treat_not_handshaking_as_finished branch April 28, 2015 21:02
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.

3 participants