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

Apply fix for devices with large socket buffers #1197

Merged
merged 1 commit into from
Dec 16, 2014

Conversation

nfuller
Copy link
Collaborator

@nfuller nfuller commented Dec 12, 2014

The same fix as for ThreadInterruptTest from commit
d95341b, but made to
DisconnectTest.

The same fix as for ThreadInterruptTest from commit
d95341b, but made to
DisconnectTest.
@mruddy
Copy link
Contributor

mruddy commented Dec 12, 2014

I just noticed that we are trying to fix the same failing test. I sent in #1198 a few minutes ago. I decided to remove the failing test case entirely because it's not testing anything except the java.net.HttpURLConnection that I can see -- nothing specific to okhttp.

@JakeWharton
Copy link
Collaborator

@mruddy It tests OkHttp's implementation of HttpUrlConnection.

@mruddy
Copy link
Contributor

mruddy commented Dec 12, 2014

@JakeWharton ah, ok, I didn't see that.

nfuller added a commit to nfuller/okhttp that referenced this pull request Dec 15, 2014
Work in progress.

I see a new failure from a certificate pinning test but I don't
know why. Help solving this would be appreciated.

I also see failures before & after:
1) A failure from DisconnectTest
(square#1197 may fix that).
2) A failure from CallTest.doesNotFollow21Redirects_Async (timeout)

The maven changes should be treated with the contempt they deserve.
I mostly removed things I didn't understand and stroked maven until
it stopped squealing. The benchmarks / okcurl changes are a
particular mystery.

Tried with arbitrary versions of openjdk7 and openjdk8 I had
lying around. Behavior seems the same.
nfuller added a commit to nfuller/okhttp that referenced this pull request Dec 15, 2014
Work in progress.

I see a new failure from a certificate pinning test but I don't
know why. Help solving this would be appreciated.

I also see failures before & after:
1) A failure from DisconnectTest
(square#1197 may fix that).
2) A failure from CallTest.doesNotFollow21Redirects_Async (timeout)

The maven changes should be treated with the contempt they deserve.
I mostly removed things I didn't understand and stroked maven until
it stopped squealing. The benchmarks / okcurl changes are a
particular mystery.

Tried with arbitrary versions of openjdk7 and openjdk8 I had
lying around. Behavior was the same across both (i.e. the same
failures).
@swankjesse
Copy link
Collaborator

Thanks!

swankjesse added a commit that referenced this pull request Dec 16, 2014
Apply fix for devices with large socket buffers
@swankjesse swankjesse merged commit 8a04004 into square:master Dec 16, 2014
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.

4 participants