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

Update OkHttp version to 3.10.0 #72

Merged
merged 2 commits into from
Mar 2, 2018
Merged

Conversation

Guardiola31337
Copy link
Contributor

cc @electrostat @zugaldia @tobrun @LukasPaczos

import okhttp3.HttpUrl;
import okhttp3.internal.tls.SslClient;
import okhttp3.mockwebserver.internal.tls.SslClient;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we continue to use an internal api if future changes could cause issues similar issues? Is there any way we can get rid of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a bit different because MockWebServer is only used for testing. So although APIs could change it's not a problem because it's not affecting production code which is what we're exposing and what could cause issues in the future. Does that make sense?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way we can get rid of this?

Nope, it's actually needed for testing HTTP requests.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Sounds good.

import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.HttpUrl;
import okhttp3.OkHttpClient;
import okhttp3.Response;
import okhttp3.internal.tls.SslClient;
import okhttp3.mockwebserver.internal.tls.SslClient;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as ☝️

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already answered ☝️

@Guardiola31337 Guardiola31337 merged commit 30f5b6c into master Mar 2, 2018
@Guardiola31337 Guardiola31337 deleted the pg-69-update-okhttp branch March 2, 2018 16:43
electrostat pushed a commit that referenced this pull request Mar 22, 2018
* bump okhttp version to 3.10.0

* add hostname verifier to telemetry client settings builder needed to workaround stuck mockwebserver tests after bumping okhttp version to 3.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants