Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads
concurrently close an SSL socket. This would have appeared in crash logs as
NullPointerException: bio == null.
Version 4.9.0
2020-09-11
With this release, okhttp-tls no longer depends on Bouncy Castle and doesn't install the
Bouncy Castle security provider. If you still need it, you can do it yourself:
Upgrade: [Kotlin 1.4.10][kotlin_1_4_10]. We now use Kotlin 1.4.x [functional
interfaces][fun_interface] for Authenticator, Interceptor, and others.
Upgrade: Build with Conscrypt 2.5.1.
Version 4.8.1
2020-08-06
Fix: Don't crash in HeldCertificate.Builder when creating certificates on older versions of
Android, including Android 6. We were using a feature of SimpleDateFormat that wasn't
available in those versions!
Version 4.8.0
2020-07-11
New: Change HeldCertificate.Builder to use its own ASN.1 certificate encoder. This is part
of our effort to remove the okhttp-tls module's dependency on Bouncy Castle. We think Bouncy
Castle is great! But it's a large dependency (6.5 MiB) and its security provider feature
impacts VM-wide behavior.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Bumps mockwebserver from 3.14.9 to 4.9.1.
Changelog
Sourced from mockwebserver's changelog.
... (truncated)
Commits
63dcd95
Prepare for release 4.9.1.d2e28ab
Silently ignore 'bio == null' NullPointerExceptions (#6534)cbeaf8f
Prepare for release 4.9.0.8fd74a7
Conscrypt 2.5.1 Upgrade (#6263)2bd749d
Kotlin 1.4.10 Upgrade (#6264)0164696
Fix build on windows (#6257)e4c3b28
Fix HttpUrl documentation (#6259)8c2f383
Document interceptor throwing modes (#6235)a76c40a
Kotlin 1.4 dependency upgrade and language features (#5947)1589741
Fix Caching documentation. (#6247)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually