Jesse Wilson
b8b6ee831c
[maven-release-plugin] prepare release parent-3.14.2
parent-3.14.2
2019-05-19 13:32:30 -04:00
Yuri Schimke
d1c4b1e486
Merge pull request #5068 from square/jwilson.0518.lock_in_route_
...
Lock in a route in hasRouteToTry() (3.14.x branch)
2019-05-19 07:48:21 +01:00
Jesse Wilson
5ecec36c2e
Lock in a route in hasRouteToTry() (3.14.x branch)
...
Otherwise we end up making multiple calls to retryCurrentRoute()
and if it returns true then false we can fail to find a route on
a retry.
Closes: https://github.com/square/okhttp/issues/4875
2019-05-18 22:15:56 -04:00
Amir Livneh
ebe5c60130
Reproduce NoSuchElementException in RouteSelector.next() in a test
...
I was unable to write a test that reproduces https://github.com/square/okhttp/issues/4875 consistently, but this is the closest I got. When I run it repeatedly in IntelliJ, it fails about 1 out of 5 times.
2019-05-18 22:14:21 -04:00
Jesse Wilson
3ec8537bf5
Merge pull request #4976 from yschimke/another_branch_fix
...
3.14.x branch fix for travis
2019-04-25 01:52:50 -04:00
Yuri Schimke
5d8316b4d1
Testing branch fix
2019-04-24 20:30:42 +01:00
Yuri Schimke
baa96c23f4
Fix 3.14 snapshot builds in Travis after release ( #4926 )
2019-04-23 19:57:01 +01:00
Jesse Wilson
b2c85ba3dd
Merge pull request #4936 from TangHuaiZhe/dev2
...
Fix #4915 nullPointerException caused by realConnection is null
2019-04-13 09:24:46 -04:00
Tang HuaiZhe
0db2005de3
Fix #4915 nullPointerException caused by realConnection is null
2019-04-13 18:34:19 +08:00
Yuri Schimke
a4c059967d
Ignore dependency:resolve failure on 3.14 branch ( #4924 )
2019-04-10 21:02:04 +01:00
Jesse Wilson
03deb265b4
[maven-release-plugin] prepare for next development iteration
2019-04-10 12:07:38 -04:00
Jesse Wilson
a5c4668abf
[maven-release-plugin] prepare release parent-3.14.1
parent-3.14.1
2019-04-10 12:07:33 -04:00
Jesse Wilson
2dc45fe576
Omit hpacktests from release
2019-04-10 09:59:15 -04:00
Jesse Wilson
3119db0a7f
Merge pull request #4911 from square/jwilson.0308.better_exception_stacked_calls
...
Provide actionable advice when the exchange is non-null (3.x branch)
2019-04-09 22:11:46 -07:00
Yuri Schimke
df95c77adf
Run a minimal circleci maven build on 3.14 branch ( #4912 )
...
Minimal build to clear errors on branch PRs
2019-04-09 06:55:45 +01:00
Jesse Wilson
ca961db9e9
Provide actionable advice when the exchange is non-null (3.x branch)
...
https://github.com/square/okhttp/issues/4761
2019-04-08 09:28:03 -04:00
Jesse Wilson
7f9d7801e1
Merge pull request #4901 from square/jwilson.0407.has_next
...
Don't crash on retry when there are no more routes (3.x branch)
2019-04-08 06:31:11 -04:00
Jesse Wilson
33f0d028a4
Don't crash on retry when there are no more routes (3.x branch)
...
https://github.com/square/okhttp/issues/4875
2019-04-07 21:30:11 -04:00
Jesse Wilson
0f87d95c7d
OkHttp 3.14 is out
2019-03-14 00:24:22 -04:00
Jesse Wilson
695b46cb2e
[maven-release-plugin] prepare for next development iteration
2019-03-13 23:42:40 -04:00
Jesse Wilson
44d51d0ceb
[maven-release-plugin] prepare release parent-3.14.0
parent-3.14.0
2019-03-13 23:42:33 -04:00
Jesse Wilson
b5dc31409f
Merge pull request #4708 from amirlivneh/fail-when-not-canceled
...
Fail recoverFromCancelReusesConnection() on unexpected response
2019-03-13 21:56:10 -04:00
Benoît Quenaudon
6c4855a7c7
Use AssertJ in tests ( #4713 )
2019-03-13 21:07:33 -04:00
Jesse Wilson
a217a390ee
Merge pull request #4714 from amirlivneh/travis-verify
...
Run style check in Travis CI
2019-03-13 21:00:00 -04:00
Amir Livneh
d4afa4b9a4
Run style check in Travis CI
2019-03-13 16:55:03 -07:00
Amir Livneh
66ce79306b
Merge pull request #4711 from amirlivneh/fix-style
...
Unbreak 'mvn verify'
2019-03-13 10:22:57 -07:00
Amir Livneh
f830f64916
Unbreak 'mvn verify'
2019-03-13 10:11:19 -07:00
Amir Livneh
829cd9c07f
Fail recoverFromCancelReusesConnection() on unexpected response
...
This may help nail down the sporadic timeouts in this test.
2019-03-12 09:59:23 -07:00
Jesse Wilson
292764b156
Merge pull request #4705 from square/jwilson.0310.better_exceptions
...
Provide better exceptions when the shared HTTP/2 stream fails
2019-03-12 12:33:45 -04:00
Jesse Wilson
1a68cf15af
Provide better exceptions when the shared HTTP/2 stream fails
...
Previously we always provided a generic StreamResetException. Now we provide
the exception that triggered the stream to be closed, if any.
2019-03-12 09:21:02 -04:00
Jesse Wilson
8e85dcd7f3
Prepare the changelog for our upcoming release
2019-03-09 22:39:12 -05:00
Jesse Wilson
1e956b9915
Merge pull request #4702 from square/jwilson.0309.full_op_timeouts_sse
...
Enforce full-call timeouts on SSE setup
2019-03-09 18:17:56 -05:00
Jesse Wilson
432381d9fb
Enforce full-call timeouts on SSE setup
...
Once the response headers are received we go back to not having
any timeout enforced.
Closes: https://github.com/square/okhttp/issues/4646
2019-03-09 16:29:07 -05:00
Jesse Wilson
12bc2b7bde
Merge pull request #4696 from galderz/t_websocket_randomfail
...
Release websocket transmitter before failing response #4695
2019-03-08 21:23:18 -05:00
Jesse Wilson
e7c533e4ac
Merge pull request #4700 from yschimke/test_timeouts
...
Test Timeout to flush out hangs
2019-03-08 21:22:54 -05:00
Yuri Schimke
af72a230f3
Test Timeout to flush out hangs
2019-03-08 22:02:41 +00:00
Galder Zamarreño
e7a04f92a2
Release websocket transmitter before failing response #4695
2019-03-08 12:10:56 +01:00
Jesse Wilson
c912b90b8a
Merge pull request #4690 from amirlivneh/rename-rule
...
Rename OkHttpClientTestingRule to OkHttpClientTestRule
2019-03-07 07:39:32 -05:00
Amir Livneh
018510fa40
Rename OkHttpClientTestingRule to OkHttpClientTestRule
2019-03-07 07:24:05 -05:00
Jesse Wilson
9059c15c67
Merge pull request #4684 from square/jwilson.0305.dontleak
...
Don't leak a connection if a WebSocket handshake fails
2019-03-06 20:55:54 -05:00
Jesse Wilson
dff5a61fc6
Don't leak a connection if a WebSocket handshake fails
...
I'm not particularly happy with all of the moving parts here. I think
perhaps doing web sockets over duplex is a possible fix here.
Closes: https://github.com/square/okhttp/issues/4658
2019-03-06 20:40:33 -05:00
Jesse Wilson
43f54df32f
Merge pull request #4680 from amirlivneh/client-test-rule
...
Use a TestRule to check for connection leaks
2019-03-06 09:09:50 -05:00
Jesse Wilson
4e202e56c6
Merge pull request #4688 from amirlivneh/license-header
...
Add missing license header to CacheControl.java
2019-03-06 09:09:11 -05:00
Jesse Wilson
5dcff56604
Merge pull request #4686 from galderz/t_logmatch
...
Expand possible cipher suite options #4685
2019-03-06 07:55:08 -05:00
Amir Livneh
4a7f4aa118
Add missing license header to CacheControl.java
2019-03-06 07:14:31 -05:00
Amir Livneh
aca6785440
Use a TestRule to check for connection leaks
2019-03-06 06:21:15 -05:00
Galder Zamarreño
ee011b71cf
More flexible cipherSuite matching #4685
...
* Match any cipher suites starting with TLS_
2019-03-06 09:07:22 +01:00
Jesse Wilson
8c37096896
Merge pull request #4681 from square/jwilson.0303.bye
...
Delete long-deprecated OkApacheClient.
2019-03-04 07:53:26 -05:00
Jesse Wilson
09c8a4475d
Delete long-deprecated OkApacheClient.
2019-03-03 21:48:04 -05:00
Jesse Wilson
44d78247a5
Merge pull request #4678 from square/jwilson.0303.jdk1_8_202
...
Assume _anon_ cipher suites are unsupported.
2019-03-03 11:51:59 -05:00