1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-14 07:22:20 +03:00
Commit Graph

4197 Commits

Author SHA1 Message Date
Yuri Schimke
1d293fa062 Brotli Interceptor docs 2019-08-23 17:43:31 -04:00
Jesse Wilson
e40915bf77 Merge pull request #5362 from square/jwilson.0813.releasing
Include prerequisites in the releasing guide.
2019-08-21 16:36:37 -04:00
Yuri Schimke
caf79c75ad Bump CI JDK versions (#5386) 2019-08-21 19:45:36 +01:00
Yuri Schimke
ad08afb07f Avoid running openjsse on each PR (#5381) 2019-08-18 12:13:10 +03:00
Yuri Schimke
7cf508a30b OpenJSSE Platform support (#5369)
Adds support for OpenJSSE when registered as the first security provider.
2019-08-18 12:03:51 +03:00
Jesse Wilson
a1994dab34 Update the libraries that work with OkHttp (#5366)
* Update the libraries that work with OkHttp

This prunes a few that haven't been updated and appear obsolete.

* Update works_with_okhttp.md
2019-08-17 21:44:22 -04:00
Jesse Wilson
18145235eb Merge pull request #5375 from square/jakew/header-logging-fix/2019-08-17
Ensure overridden content length/type headers are logged
2019-08-17 21:26:58 -04:00
Jake Wharton
987d2848fd Ensure overridden content length/type headers are logged 2019-08-17 10:18:25 -04:00
Jesse Wilson
bd33a78ef7 Merge pull request #5368 from yschimke/cleanup2
Code cleanup post review
2019-08-14 08:03:44 -04:00
Yuri Schimke
44cd4241a7 Code cleanup post review 2019-08-14 13:20:49 +03:00
Jesse Wilson
b2c2e7237a Merge pull request #5347 from yschimke/android_session_reuse
Test Android session reuse
2019-08-13 22:48:45 -04:00
Yuri Schimke
9aaf7d83f9 More supported socket types on Android (#5243)
* More supported socket types on Android

* Fix?

* Avoid JDK 9 field

* testing

* Working with all 3

* Cleanup

* Fixes

* Review comments

* copyright

* Remove lazy

* Remove lazy

* Skip conscrypt if not available
2019-08-13 22:46:49 -04:00
Yuri Schimke
fbf24d26fb Test for OpenJSSE (#5348)
* Test for OpenJSSE

* Test for tls version

* Comment

* Fix

* Copyright

* Explore public socket API

* Fix platform testing

* Test socket type

* Revert circleci change
2019-08-13 21:06:01 -04:00
Jesse Wilson
99b83a3b20 Include prerequisites in the releasing guide.
https://github.com/cashapp/barber/blob/master/docs/releasing.md
2019-08-13 11:14:59 -04:00
Yuri Schimke
22ce72a17c Revert build change that broke jdk8alpn (#5358)
* Revert build change that broke jdk8alpn

* revert ci change
2019-08-12 15:08:19 -04:00
Jesse Wilson
06f1c7522c Prepare next development version. 2019-08-12 13:00:11 -04:00
Jesse Wilson
4739b27806 Prepare for release 4.1.0. parent-4.1.0 2019-08-12 13:00:00 -04:00
Jesse Wilson
96fbf6b330 Merge pull request #5356 from square/jwilson.0812.no_application_plugin
Remove the application plugin from okcurl
2019-08-12 11:58:47 -04:00
Jesse Wilson
db39fa4a93 Remove the application plugin from okcurl
I can't have both this and shadow concurrently because they both attempt
to use the same classifier when publishing.
2019-08-12 11:55:55 -04:00
Yuri Schimke
f070df4ccc New OpenJDK 8 version (#5354) 2019-08-12 16:26:23 +01:00
Yuri Schimke
1b60e3739c Test Android session reuse 2019-08-11 10:48:43 +01:00
Yuri Schimke
1994136a24 Update test host to squareup (#5343) 2019-08-10 17:20:43 +01:00
Yuri Schimke
cf0042b208 Extended Android tests (#5298)
Added tests related to certificate pinning, mockwebserver and cleartext blocking on legacy Android.
2019-08-10 15:28:50 +01:00
Yuri Schimke
609888f4d7 Increase timeout for flaky test (#5305) 2019-08-10 09:16:10 -04:00
Yuri Schimke
f40e21a956 Allow interrupt of singleton cleanup thread (#5334)
* Allow  interrupt of singleton cleanup thread

* inline

* Cleanup connections on interrupt

* Additional test debugging

* Delay before interrupting

* Remove println
2019-08-10 09:11:02 -04:00
Jesse Wilson
ba83fe6149 Merge pull request #5339 from AlexSzlavik/add-trustManager-accessor
Add TrustManager accessor to OkHttpClient.
2019-08-09 18:51:08 -04:00
Alex Szlavik
6452f24c41 Add TrustManager accessor to OkHTTPClient. 2019-08-09 18:05:30 -04:00
Jesse Wilson
b9b700b7b0 Merge pull request #5325 from square/coalesced-conn-destroyed
Recover from a coalesced connection that immediately goes unhealthy.
2019-08-09 16:35:51 -04:00
Jesse Wilson
e2a4a2fb6f Merge pull request #5338 from yschimke/simplify_version_test
Simplify version test
2019-08-09 15:49:01 -04:00
Yuri Schimke
a6a5d287c7 Avoid SecurityException on ProxySelector.getDefault when proxy set (#5332)
* Handle SecurityException on ProxySelector.getDefault

* Review comments

* remove newline
2019-08-09 15:47:21 -04:00
Yuri Schimke
ad2ff3af53 Simplify version test 2019-08-09 17:45:21 +01:00
Jesse Wilson
702cd84449 Merge pull request #5335 from yschimke/conscrypt_2.2.1
Conscrypt 2.2.1 release
2019-08-08 15:30:06 -04:00
Yuri Schimke
ef27dfae78 Conscrypt 2.2.1 release 2019-08-08 14:29:52 +01:00
Dave Roberge
8b69ce9b59 Recover from a coalesced connection that immediately goes unhealthy.
https://github.com/square/okhttp/issues/3308
2019-08-02 13:37:35 -05:00
Jay Estrella
0b3193d08b Update interceptor docs for response body behaviour (#5310) 2019-07-30 17:17:00 +01:00
Yuri Schimke
77a2a38333 Avoid gradle assemble in Travis (#5312) 2019-07-29 18:05:58 +01:00
Yuri Schimke
2a1f328d58 Add proxy event logging (#5300) 2019-07-25 05:42:32 +01:00
Yuri Schimke
6d655ba4f6 TravisCI downgrade back to trusty (#5301) 2019-07-24 21:33:00 +01:00
Yuri Schimke
24c7d54ecb Handle localhost as ipv6 without bracket quoting (#5297)
* Handle ipv6 hostnames without bracket quoting

* simplify

* Add ipv4 localhost test

* Update RecordedRequest.kt
2019-07-23 23:15:53 -04:00
Yuri Schimke
076e976c10 Picocli (#5207)
Switch from airline to picocli, which is more graal compatible and has nicer default output.
2019-07-19 15:15:05 +01:00
Yuri Schimke
ed25f41e48 Basic Android Instrumentation Test (#5253)
Runnable with 

```
ANDROID_SDK_ROOT=... ./gradlew connectedCheck
```
2019-07-16 23:15:20 +01:00
Yuri Schimke
2c7811a64a Move flaky issues to comments (#5289) 2019-07-16 22:50:51 +01:00
Yuri Schimke
a6c4ff6e44 Output client events after tagged @Flaky tests or failures (#5217)
Collect additional debugging info for know problem tests or after unplanned failures.
2019-07-16 22:34:32 +01:00
Yuri Schimke
daf49ff1ce Document kotlin library dependency (#5273) 2019-07-16 06:43:43 +01:00
Jesse Wilson
5c5038a87e Merge pull request #5283 from square/avoid-using-non-null-assertion-20190712
Avoid using non-null assertion in ConnectionSpec
2019-07-15 21:45:44 -04:00
Yuri Schimke
6903b89e0b Cleanup of error prone and warnings (#5268)
* Comment some warnings

* Wrap

* Disable warnings
2019-07-15 21:11:35 -04:00
Masaru Nomura
2712ac83cd Avoid using non-null assertion in ConnectionSpec
To be compatible with OkHttp3, OkHttp4.0 doesn't use non-null assertion.
2019-07-14 21:50:38 -04:00
Jesse Wilson
2d2a9c43af Merge pull request #5279 from square/jwilson.0710.401_changelog
Update the changelog for OkHttp 4.0.1
2019-07-10 11:41:16 -04:00
Jesse Wilson
7292e54a63 Update the changelog for OkHttp 4.0.1 2019-07-10 11:40:44 -04:00
Jesse Wilson
c3fc1d2755 Merge pull request #5276 from square/jakew/new-ws-close-codes/2019-07-08
Support new IANA WS close codes
2019-07-08 19:04:58 -04:00