Skip to content

Adding test for wrapping SSL socket. - #243

Merged
nmittler merged 1 commit into
google:masterfrom
nmittler:ssl-via-ssl2
Jul 6, 2017
Merged

nmittler merged 1 commit into
google:masterfrom
nmittler:ssl-via-ssl2

Conversation

@nmittler

@nmittler nmittler commented Jul 5, 2017 •

Copy link
Copy Markdown
Contributor

This was created in an attempt to reproduce #104.

I suspect that FD socket will not work, since it writes directly to the socket's underlying file descriptor rather than going through the SSL socket. The engine-based socket, however, appears to work fine.

@nmittler nmittler added this to the 1.0.0 milestone Jul 5, 2017
@nmittler nmittler self-assigned this Jul 5, 2017
@nmittler
nmittler requested a review from flooey July 5, 2017 18:14
@nmittler

nmittler commented Jul 5, 2017

Copy link
Copy Markdown
Contributor Author

@FD- This appears to work for the engine-based socket. Can you take a look and see if I'm missing something?

@FD-

FD- commented Jul 5, 2017

Copy link
Copy Markdown

@nmittler Did you run the test on Android?

@nmittler

nmittler commented Jul 5, 2017

Copy link
Copy Markdown
Contributor Author

@FD- no, I'm just using the openjdk tests for now, but I wanted to make sure that I was replicating the environment first.

@FD-

FD- commented Jul 5, 2017 •

Copy link
Copy Markdown

Well, I see similar fragments, but I'm afraid I don't understand enough how these tests are executed to tell what it'll do.
Seeing it seems to run an SSLSocket over another SSLSocket and hearing it works in the JDK, I guess it should reproduce #104 when run on Android.

@nmittler
nmittler merged commit 092515c into google:master Jul 6, 2017
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