This is a maintenance release that corrects several minor defects discovered since release 5.2
and fixes SOCKS proxy protocol support in the async transport.
Change Log
HTTPCLIENT-2248: Fixed broken TLS over SOCKS.
Contributed by Oleg Kalnichevski
I/O reactor connect process redesign.
Contributed by Oleg Kalnichevski
SOCKS protocol handling: Delegate resolution of unknown hostnames to the SOCKS proxy.
Contributed by Oleg Kalnichevski
I/O reactor to validate remote endpoint address at the last moment immediately before connect.
Contributed by Oleg Kalnichevski
Bug fix: I/O reactor must handle all runtime exceptions when connecting to remote endpoints.
Contributed by Oleg Kalnichevski
Added org.apache.hc.core5.http.protocol.HttpCoreContext#toString().
Contributed by Gary Gregory
Examples should log exceptions instead of swallowing them.
Contributed by Gary Gregory
HTTPCORE-729: NPE in ServerHttp1IOEventHandlerFactory due to a missing null check
Contributed by Oleg Kalnichevski
Release 5.2
This is the first GA release in the 5.2 release series. This release finalizes the 5.2 APIs
and also corrects a number of defects discovered since the previous release.
Please note that 5.2 upgrades the minimal JRE level to version 8 (8u251 is required).
Notable changes and features included in the 5.2 series:
Upgrade to Java 8.
Improved support for TLS upgrade and HTTP protocol upgrade (async).
You can trigger a rebase of this PR 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
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps org.apache.httpcomponents.core5:httpcore5 from 5.1.4 to 5.2.1.
Changelog
Sourced from org.apache.httpcomponents.core5:httpcore5's changelog.
... (truncated)
Commits
a628f58
HttpCore 5.2.1 release1a9c8e1
Updated release notes for HttpCore 5.2.1 releasedbc3b14
Bump mockito-core from 4.8.1 to 4.11.08b3631b
Bump actions/dependency-review-action from 2 to 3c329c39
HTTPCLIENT-2248: fixed broken TLS over SOCKSebc1d6a
I/O reactor connect process redesignd8b602b
SOCKS protocol handling: delegate resolution of unknown hostnames to the SOCK...c9f1fa5
I/O reactor to validate remote endpoint address at the last moment immediatel...064b84b
Bug fix: I/O reactor must handle all runtime exceptions when connecting to re...e59b7ad
Fix compiler warnings in testsYou can trigger a rebase of this PR 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 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)