Skip to content

migrate HTTP to v2 - #27

Merged
tanmaykm merged 5 commits into
tanmaykm:masterfrom
hhaensel:hh-http-v2
Jun 12, 2026
Merged

migrate HTTP to v2#27
tanmaykm merged 5 commits into
tanmaykm:masterfrom
hhaensel:hh-http-v2

Conversation

@hhaensel

Copy link
Copy Markdown
Contributor

The new HTTP v2 skips support for MbedTLS, so we need to go to TLS instead

@hhaensel hhaensel mentioned this pull request Jun 10, 2026
@codecov-commenter

codecov-commenter commented Jun 10, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 45.86%. Comparing base (017806e) to head (6b35a9b).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/OpenIDConnect.jl 87.50% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
- Coverage   50.45%   45.86%   -4.60%     
==========================================
  Files           1        1              
  Lines         109      133      +24     
==========================================
+ Hits           55       61       +6     
- Misses         54       72      +18     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hhaensel

Copy link
Copy Markdown
Contributor Author

There are strange failures, which might be time related as HTTP precompilation has a timeout as far as I have understood (JuliaWeb/HTTP.jl#1252).
@tanmaykm Could you re-run the failing tests to see, whether they pass?

@tanmaykm

Copy link
Copy Markdown
Owner

Looks like with these changes the lower bound for supported Julia version becomes 1.10. And we would need to drop x86 support. I am fine with that.

I'll try and add some commits here in a bit and see if the tests pass.

- Raise julia compat to 1.10 (required by HTTP 2.1.1 / Reseau 1.2.1) and
  drop Julia 1.0 plus all x86 CI jobs (Reseau has no 32-bit support).
- Fix OIDCCtx construction throwing when verify=false is combined with a
  custom cacrt: HTTP v2 rejects require_ssl_verification overrides on an
  explicit Client, so carry the verify intent via the TLS.Config instead.
- Document the narrowed cacrt contract (file path only) and bump version
  to 0.2.0 for the breaking API change.
- Add a Custom CA certificate testset covering the cacrt path, the
  verify=false regression, and the bad-path error.
@hhaensel

Copy link
Copy Markdown
Contributor Author

Cool! I think it is, indeed, a good idea for a security app to use the state of the art http stack. MbedTLS is known to be vulnerable.

@tanmaykm

Copy link
Copy Markdown
Owner

@hhaensel could you please check and merge hhaensel#2 ?

Fix CI for HTTP v2 migration: julia compat, x86/1.0 matrix, and verify+cacrt bug
@hhaensel

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing, looks good!

@tanmaykm
tanmaykm merged commit 8b782e9 into tanmaykm:master Jun 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants