8381316: HttpClient / Http3: poor exception messages on SSL handshake errors#30563
8381316: HttpClient / Http3: poor exception messages on SSL handshake errors#30563djelinski wants to merge 5 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back djelinski! A progress list of the required criteria for merging this PR into |
|
@djelinski This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 92 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
@djelinski The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
Thanks @dfuch for the review. Changes applied. |
This PR improves the exceptions thrown from HttpClient.send when the QUIC TLS handshake fails on the client side, for example because the server certificate is not trusted.
Before the changes we would throw the following exception chain:
After the changes the following exception chain is thrown:
The new exception chain matches the one observed with HTTP 1/2.
I updated a preexisting test to cover HTTP3, and added assertions to verify the exception message. HttpClient tests continue to pass.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30563/head:pull/30563$ git checkout pull/30563Update a local copy of the PR:
$ git checkout pull/30563$ git pull https://git.openjdk.org/jdk.git pull/30563/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 30563View PR using the GUI difftool:
$ git pr show -t 30563Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30563.diff
Using Webrev
Link to Webrev Comment