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

3386 Commits

Author SHA1 Message Date
Jesse Wilson
57e0da9316 [maven-release-plugin] prepare release parent-3.12.9 parent-3.12.9 2020-02-24 17:28:50 -05:00
Jesse Wilson
6b129f1719 Merge pull request #5824 from square/jwilson.0224.entrust_
The OpenJDK9 Certificate list lacks Entrust (3.12.x branch)
2020-02-24 13:51:34 -05:00
Jesse Wilson
a5fcfe9957 The OpenJDK9 Certificate list lacks Entrust (3.12.x branch) 2020-02-24 13:49:25 -05:00
Yuri Schimke
c2e9ee23d9 Handle Android 11 restrictions (3.12.x) (#5822)
Changes are a constrained backport of functionality from 4.x branch and 3.14.x branch

see also https://github.com/square/okhttp/pull/5820
2020-02-23 07:45:34 +00:00
Jesse Wilson
7f5239e1e3 [maven-release-plugin] prepare for next development iteration 2020-01-11 21:14:17 -05:00
Jesse Wilson
95ef698c3c [maven-release-plugin] prepare release parent-3.12.8 parent-3.12.8 2020-01-11 21:14:08 -05:00
Jesse Wilson
0f2e09c7c5 Merge pull request #5715 from square/jwilson.0111.rejected
Don't crash sending a degraded ping on a closed connection (3.12.x)
2020-01-11 19:25:37 -05:00
Jesse Wilson
9237362519 Don't crash sending a degraded ping on a closed connection 2020-01-11 16:14:27 -05:00
Jesse Wilson
9e5edc9238 [maven-release-plugin] prepare for next development iteration 2020-01-03 17:57:21 -05:00
Jesse Wilson
c7e3bc33b4 [maven-release-plugin] prepare release parent-3.12.7 parent-3.12.7 2020-01-03 17:57:14 -05:00
Jesse Wilson
18a4c609b2 Merge pull request #5687 from square/jwilson.0101.degradee
Degrade connections after a timeout (3.12.x branch)
2020-01-03 17:39:20 -05:00
Jesse Wilson
1870c1bb1a Degrade connections after a timeout (3.12.x branch)
This is a cherry-pick of 6a9a64c8f1

See also the degraded connections proposal.
https://github.com/square/okhttp/issues/3146#issuecomment-471196032
2020-01-02 22:07:04 -05:00
Jesse Wilson
01bc2a8426 [maven-release-plugin] prepare for next development iteration 2019-09-29 15:34:23 -04:00
Jesse Wilson
b2c5000535 [maven-release-plugin] prepare release parent-3.12.6 parent-3.12.6 2019-09-29 15:34:16 -04:00
Jesse Wilson
4843e76728 Merge pull request #5504 from square/jwilson.0926.canceled_312x
Cancel calls on unexpected exceptions (3.12.x branch)
2019-09-27 00:20:37 -04:00
Jesse Wilson
0886def52d Cancel calls on unexpected exceptions (3.12.x branch)
Closes: https://github.com/square/okhttp/issues/5151
2019-09-27 00:16:33 -04:00
Jesse Wilson
043b57006c Merge pull request #5487 from square/jwilson.0922.issue_3905_312
DiskLruCache snapshot() method removing entries that are being cached (3.12.x branch)
2019-09-23 06:44:31 -04:00
marcinbak
fff9febf31 DiskLruCache snapshot() method removing entries that are being cached (3.12.x branch)
Fixed a bug I found.
When using DiskLruCache, hasNext() method of Iterator<Snapshot> returned by snapshot() method iterates through lruEntries, however if entry is not completed yet, it is removed (together with dirtyFiles) as cleanFiles don't exist yet - during saving response to disk. This caused sometimes file not being cached at all.
2019-09-22 20:34:18 -04:00
Jesse Wilson
03e5f6b733 [maven-release-plugin] prepare for next development iteration 2019-09-10 16:55:47 -04:00
Jesse Wilson
f101f9d9d3 [maven-release-plugin] prepare release parent-3.12.5 parent-3.12.5 2019-09-10 16:55:41 -04:00
Jesse Wilson
e7b7f0a0ef Merge pull request #5437 from square/jwilson.0909.http2_312x
Don't leak incoming bytes when we race incoming data and close (3.12.x branch)
2019-09-10 07:03:32 -04:00
Jesse Wilson
611aedaf8c Merge pull request #5439 from square/jwilson.0909.race_312x
Acknowledge and apply inbound settings atomically (3.12.x branch)
2019-09-10 07:02:27 -04:00
Jesse Wilson
8ab23165db Acknowledge and apply inbound settings atomically
Closes: https://github.com/square/okhttp/issues/5422

Unfortunately testing this is awkward because it's racy. I did
run a stress test that used to reproduce the problem, and now it
doesn't, so I am satisfied.
2019-09-09 18:16:06 -04:00
Jesse Wilson
45f39f4d3b Don't leak incoming bytes when we race incoming data and close
We had a bug where a race between FramingSource.receive() and
FramingSource.close() could cause newly-received bytes to be
absent from the flow control window. If this happens enough then
eventually the connection will stall.
2019-09-09 17:56:28 -04:00
Jesse Wilson
74ecfd6580 [maven-release-plugin] prepare for next development iteration 2019-09-04 10:28:09 -04:00
Jesse Wilson
197ca27765 [maven-release-plugin] prepare release parent-3.12.4 parent-3.12.4 2019-09-04 10:28:03 -04:00
Jesse Wilson
88e972096f Merge pull request #5409 from square/jwilson.0903.mitigate_missing_class
Don't crash looking up an absent class on Android 4.x
2019-09-04 07:38:56 -04:00
Jesse Wilson
3cde60c06b Don't crash looking up an absent class on Android 4.x
Some Android 4.2.2 devices don't like the try/catch block
so avoid it.

https://github.com/square/okhttp/issues/3772
2019-09-03 22:53:07 -04:00
Jesse Wilson
c2b50eb4eb Merge pull request #5240 from opayen/okhttp_3.12.x
Avoid retrying when client is missing body File
2019-06-26 18:31:57 -07:00
Yuri Schimke
04ff9f8e2a Avoid retrying when client is missing body File
(cherry picked from commit b822c0d386)
2019-06-26 12:40:11 +02:00
Yuri Schimke
5702be8a2f CircleCI config for 3.12 branch (#5034) 2019-05-11 14:54:30 +01:00
Jesse Wilson
5c392d5ff4 [maven-release-plugin] prepare for next development iteration 2019-05-07 13:18:43 -04:00
Jesse Wilson
44b00791f6 [maven-release-plugin] prepare release parent-3.12.3 parent-3.12.3 2019-05-07 13:18:37 -04:00
Jesse Wilson
f6543eb0eb Merge pull request #5004 from square/jwilson.0503.null_Route
fix: StreamAllocation should keep route from reused connection (3.12.x branch)
2019-05-07 13:05:59 -04:00
congwu.wang
9fbd82f41b fix: StreamAllocation should keep route from reused connection 2019-05-03 20:54:54 -04:00
Jesse Wilson
815213617b Merge pull request #4618 from valepakh/okhttp_3.12.x
Permit multipart filenames to contain non-ascii characters
2019-05-03 20:31:39 -04:00
Jesse Wilson
3cdce2dc69 [maven-release-plugin] prepare for next development iteration 2019-03-14 12:07:33 -04:00
Jesse Wilson
3637fc56f7 [maven-release-plugin] prepare release parent-3.12.2 parent-3.12.2 2019-03-14 12:07:27 -04:00
Jesse Wilson
db56dfc4c2 Merge pull request #4717 from square/jwilson.0314.no_certs
Exercise TLS with no server certificates (3.12.x branch)
2019-03-14 12:02:21 -04:00
Jesse Wilson
92cfc2656d Exercise TLS with no server certificates
Closes: https://github.com/square/okhttp/issues/4427
2019-03-14 11:27:22 -04:00
Jesse Wilson
e2c49c2cf8 Merge pull request #4651 from square/jwilson.0223.late_call_calls_cancel_312x
Fix a bug where responses weren't closed on a late cancel (3.12.x branch)
2019-02-24 11:26:29 -05:00
Jesse Wilson
a1bf9b80ec Fix a bug where responses weren't closed on a late cancel
Closes: https://github.com/square/okhttp/issues/4583
2019-02-24 11:12:44 -05:00
Jesse Wilson
8428c91803 Add Jetty-APLN profiles for Java 1.8.0_201 and 1.8.0_202 (#4652)
https://github.com/jetty-project/jetty-alpn/blob/master/docs/version_mapping.properties
2019-02-24 14:02:52 +00:00
Jesse Wilson
c1cbbdc961 Permit multipart filenames to contain non-ascii characters
Closes: https://github.com/square/okhttp/issues/4564

(cherry picked from commit 94c38da706)
2019-02-15 14:26:25 +03:00
Jesse Wilson
0e09e6c304 [maven-release-plugin] prepare for next development iteration 2018-12-23 12:41:49 -05:00
Jesse Wilson
875bfa3eef [maven-release-plugin] prepare release parent-3.12.1 parent-3.12.1 2018-12-23 12:41:42 -05:00
Jesse Wilson
de4225084f Prepare for 3.12.1 development 2018-12-23 12:36:32 -05:00
Jesse Wilson
880902873b Merge pull request #4438 from yschimke/remove_dupe_package_info
Remove overlapping package-info.java
2018-12-23 12:35:09 -05:00
Jesse Wilson
7f63a35ab1 [maven-release-plugin] prepare release parent-3.12.0 parent-3.12.0 2018-11-16 23:44:12 -05:00
Jesse Wilson
9e195fa37d Update changelog for OkHttp 3.12. 2018-11-16 23:35:11 -05:00