File tree Expand file tree Collapse file tree 9 files changed +23
-9
lines changed
okhttp-logging-interceptor Expand file tree Collapse file tree 9 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 11Change Log
22==========
33
4+ ## Version 4.2.1
5+
6+ _ 2019-10-02_
7+
8+ * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being
9+ pooled in certain situations. We have good test coverage for connection pooling but we missed
10+ this because it only occurs if you have proxy configured and you share a connection pool among
11+ multiple ` OkHttpClient ` instances.
12+
13+ This particularly-subtle bug was caused by us assigning each ` OkHttpClient ` instance its own
14+ ` NullProxySelector ` when an explicit proxy is configured. But we don't share connections when
15+ the proxy selectors are different. Ugh!
16+
17+
418## Version 4.2.0
519
620_ 2019-09-10_
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ Releases
100100Our [ change log] [ changelog ] has release history.
101101
102102``` kotlin
103- implementation(" com.squareup.okhttp3:okhttp:4.2.0 " )
103+ implementation(" com.squareup.okhttp3:okhttp:4.2.1 " )
104104```
105105
106106Snapshot builds are [ available] [ snap ] .
@@ -120,7 +120,7 @@ MockWebServer
120120OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
121121
122122``` kotlin
123- testImplementation(" com.squareup.okhttp3:mockwebserver:4.2.0 " )
123+ testImplementation(" com.squareup.okhttp3:mockwebserver:4.2.1 " )
124124```
125125
126126
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
142142### Download
143143
144144``` kotlin
145- testImplementation(" com.squareup.okhttp3:mockwebserver:4.2.0 " )
145+ testImplementation(" com.squareup.okhttp3:mockwebserver:4.2.1 " )
146146```
147147
148148### License
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
1414```
1515
1616``` kotlin
17- implementation(" com.squareup.okhttp3:okhttp-brotli:4.2.0 " )
17+ implementation(" com.squareup.okhttp3:okhttp-brotli:4.2.1 " )
1818```
1919
2020 [ 1 ] : https://github.com/google/brotli
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
77### Download
88
99``` kotlin
10- testImplementation(" com.squareup.okhttp3:okhttp-dnsoverhttps:4.2.0 " )
10+ testImplementation(" com.squareup.okhttp3:okhttp-dnsoverhttps:4.2.1 " )
1111```
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Download
3737--------
3838
3939``` kotlin
40- implementation(" com.squareup.okhttp3:logging-interceptor:4.2.0 " )
40+ implementation(" com.squareup.okhttp3:logging-interceptor:4.2.1 " )
4141```
4242
4343
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
77### Download
88
99``` kotlin
10- testImplementation(" com.squareup.okhttp3:okhttp-sse:4.2.0 " )
10+ testImplementation(" com.squareup.okhttp3:okhttp-sse:4.2.1 " )
1111```
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ Download
227227--------
228228
229229``` kotlin
230- implementation(" com.squareup.okhttp3:okhttp-tls:4.2.0 " )
230+ implementation(" com.squareup.okhttp3:okhttp-tls:4.2.1 " )
231231```
232232
233233 [ held_certificate ] : http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
66### Download
77
88``` kotlin
9- testImplementation(" com.squareup.okhttp3:okhttp-urlconnection:4.2.0 " )
9+ testImplementation(" com.squareup.okhttp3:okhttp-urlconnection:4.2.1 " )
1010```
You can’t perform that action at this time.
0 commit comments