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

3691 Commits

Author SHA1 Message Date
Jesse Wilson
06644bb050 [maven-release-plugin] prepare for next development iteration 2020-05-17 12:51:02 -04:00
Jesse Wilson
ad97bd3df3 [maven-release-plugin] prepare release parent-3.14.9 parent-3.14.9 2020-05-17 12:50:54 -04:00
Jesse Wilson
60cf3a0fe1 Merge pull request #6057 from yschimke/fix_is_android_check_3_14
Fix isAndroid check [3.14.x]
2020-05-16 07:41:19 -04:00
Yuri Schimke
46f6a8eebf Fix Android check for when running with Android classes on the classpath 2020-05-16 09:37:53 +01:00
Jesse Wilson
02e57bec6e [maven-release-plugin] prepare for next development iteration 2020-04-29 00:35:47 -04:00
Jesse Wilson
7a0d6b2216 [maven-release-plugin] prepare release parent-3.14.8 parent-3.14.8 2020-04-29 00:35:39 -04:00
Jesse Wilson
f6aa71f53c Merge pull request #6004 from square/jwilson.0428.checkstyle__
Fix a checkstyle issue (3.14.x branch)
2020-04-28 23:56:42 -04:00
Jesse Wilson
fc88648805 Fix a checkstyle issue
This was preventing mvn from wanting to cut a release.
2020-04-28 23:02:32 -04:00
Jesse Wilson
9150f81837 Merge pull request #5973 from yschimke/unsupported_operation_314
UnsupportedOperationException from JDK8 252 onwards [3.14.x]
2020-04-23 21:38:58 -04:00
Yuri Schimke
76a6453693 UnsupportedOperationException from JDK8 252 onwards [3.14.x] 2020-04-22 08:48:58 +01:00
Jesse Wilson
fd6a77e9e5 Catch IllegalArgumentException from Android internals [3.14.x] (#5842)
* Catch IllegalArgumentException from Android internals

* Fix
2020-03-04 14:53:43 -05:00
Jesse Wilson
b189a382bc [maven-release-plugin] prepare for next development iteration 2020-02-24 21:46:09 -05:00
Jesse Wilson
25186b401f [maven-release-plugin] prepare release parent-3.14.7 parent-3.14.7 2020-02-24 21:46:01 -05:00
Jesse Wilson
d2f054a1d7 Merge pull request #5825 from square/jwilson.0224.release_on_nine
Get tests passing on OpenJDK 9
2020-02-24 21:28:42 -05:00
Jesse Wilson
21cf54f712 Get tests passing on OpenJDK 9
OpenJDK 9 is bad and obsolete and I'd like to avoid it. But we've got
Javadoc issues publishing on OpenJDK 11.
2020-02-24 21:18:41 -05:00
Jesse Wilson
c70a6a6762 Merge pull request #5823 from square/jwilson.0224.no_entrust
The OpenJDK9 Certificate list lacks Entrust
2020-02-24 13:51:26 -05:00
Jesse Wilson
0b18aa6c82 The OpenJDK9 Certificate list lacks Entrust 2020-02-24 13:45:50 -05:00
Yuri Schimke
af31345428 Handle Android 11 restrictions (3.14.x) (#5820)
Minimal backport of Android SocketAdaptor style fixes from master.

See also similar change on 3.12.x https://github.com/square/okhttp/pull/5822
2020-02-23 07:56:24 +00:00
Jesse Wilson
ca0a450251 [maven-release-plugin] prepare for next development iteration 2020-01-11 20:50:05 -05:00
Jesse Wilson
ddd8c7f88e [maven-release-plugin] prepare release parent-3.14.6 parent-3.14.6 2020-01-11 20:49:51 -05:00
Jesse Wilson
18a2e3ac68 Merge pull request #5716 from square/jwilson.0111.rejected_
Don't crash sending a degraded ping on a closed connection (3.14.x)
2020-01-11 19:25:24 -05:00
Jesse Wilson
7ad5de2437 Don't crash sending a degraded ping on a closed connection (3.14.x branch) 2020-01-11 16:16:29 -05:00
Jesse Wilson
6064090d74 [maven-release-plugin] prepare for next development iteration 2020-01-03 18:12:18 -05:00
Jesse Wilson
5fe92352ab [maven-release-plugin] prepare release parent-3.14.5 parent-3.14.5 2020-01-03 18:12:12 -05:00
Jesse Wilson
57f218690f Merge pull request #5680 from square/jwilson.0101.degrade
Degrade connections after a timeout (3.14.x branch)
2020-01-02 21:32:34 -05:00
Jesse Wilson
6a9a64c8f1 Degrade connections after a timeout (3.14.x branch)
This is a manual cherry-pick of 09da07c2c8

See also the degraded connections proposal.
https://github.com/square/okhttp/issues/3146#issuecomment-471196032
2020-01-01 23:09:45 -05:00
Jesse Wilson
ddc44ec093 [maven-release-plugin] prepare for next development iteration 2019-09-29 14:45:34 -04:00
Jesse Wilson
488b8f4039 [maven-release-plugin] prepare release parent-3.14.4 parent-3.14.4 2019-09-29 14:45:12 -04:00
Jesse Wilson
3865ee0d01 Merge pull request #5503 from square/jwilson.0926.unchecked_314x
Cancel calls on unexpected exceptions (3.14.x branch)
2019-09-26 23:08:56 -04:00
Jesse Wilson
4471395889 Cancel calls on unexpected exceptions (3.14.x branch)
Closes: https://github.com/square/okhttp/issues/5151
2019-09-26 22:58:08 -04:00
Jesse Wilson
c8833f644e Merge pull request #5486 from square/jwilson.0922.issue_3905_314
DiskLruCache snapshot() method removing entries that are being cached (3.14.x branch)
2019-09-23 06:44:00 -04:00
marcinbak
7938fbc8e1 DiskLruCache snapshot() method removing entries that are being cached (3.14.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:25:14 -04:00
Jesse Wilson
df3d48948a [maven-release-plugin] prepare for next development iteration 2019-09-10 17:47:42 -04:00
Jesse Wilson
9669149673 [maven-release-plugin] prepare release parent-3.14.3 parent-3.14.3 2019-09-10 17:47:36 -04:00
Jesse Wilson
55f9d53279 Merge pull request #5436 from square/jwilson.0909.cherry_pick_http2
Don't leak incoming bytes when we race incoming data and close (3.14.x branch)
2019-09-10 07:03:49 -04:00
Jesse Wilson
8af53d5da1 Merge pull request #5438 from square/jwilson.0909.atomic_settings
Acknowledge and apply inbound settings atomically (3.14.x branch)
2019-09-10 07:02:47 -04:00
Jesse Wilson
a7248061a3 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:06:50 -04:00
Jesse Wilson
eb053df891 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:35 -04:00
Jesse Wilson
9ce9d1afd1 Merge pull request #5351 from square/jwilson.0812.fix_flakiness
Fix flakiness in EventListenerTest.requestBodyFail().
2019-08-12 11:12:23 -04:00
Jesse Wilson
406a730eaa Merge pull request #5349 from square/recover-coal-conn
Recover from a coalesced connection that immediately goes unhealthy.
2019-08-12 11:12:10 -04:00
Jesse Wilson
8c63a6c42e Fix flakiness in EventListenerTest.requestBodyFail().
Saving 128 MiB of data is too much for CI
2019-08-12 10:31:44 -04:00
Dave Roberge
e9bffc4e77 Recover from a coalesced connection that immediately goes unhealthy. 2019-08-11 16:22:48 -05:00
Benoît Quenaudon
10abb264a7 Merge pull request #5182 from jemaystermind/jt/syntax-higlighting
Add syntax highlighting to code snippets in HTTPS.md
2019-06-11 10:21:13 -04:00
Jeremy Tecson
f215194007 Add syntax highlighting to code snippets in HTTPS.md 2019-06-10 21:09:28 +08:00
Jesse Wilson
08aa0a3dae Merge pull request #5175 from square/jwilson.0607.docs_3.14.x
Bring docs to the OkHttp 3.14.x branch
2019-06-07 23:50:19 -04:00
Jesse Wilson
8bb06e17df Move documentation images from the wiki into the main repo
Also address feedback from the initial documentation code review:
https://github.com/square/okhttp/pull/5171
2019-06-07 23:48:55 -04:00
Jesse Wilson
88a0d37a31 Cherry-pick docs from the 4.x branch to the 3.x branch 2019-06-07 23:48:49 -04:00
Jesse Wilson
065f231738 [maven-release-plugin] prepare for next development iteration 2019-05-19 13:34:34 -04:00
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