Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Set retry flag to true by default for OkHttpFactory#928

Merged
mykola-mokhnach merged 6 commits intoappium:masterappium/java-client:masterfrom
mykola-mokhnach:okhttp_retrymykola-mokhnach/java-client:okhttp_retryCopy head branch name to clipboard
Jun 6, 2018
Merged

Set retry flag to true by default for OkHttpFactory#928
mykola-mokhnach merged 6 commits intoappium:masterappium/java-client:masterfrom
mykola-mokhnach:okhttp_retrymykola-mokhnach/java-client:okhttp_retryCopy head branch name to clipboard

Conversation

@mykola-mokhnach
Copy link
Contributor

Change list

It looks like setting okhttp client to not retry on connection failure by default causes issues while switching contexts (which was previously not the case with apache http client). This PR tries to enforce the default setting to true, but this still requires more testing in the client side, because the problem is not always reproducible.

Types of changes

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@iddol
Copy link

iddol commented Jun 2, 2018

It would be helpful to make the other private setters and getters (e.g., setResponseCodec(), setCommandCodec() protected as well) - see issue #920.

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.