• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elixir-mint / mint / e26824eafcb7e61434cb5454341c896b32169a3e-PR-494
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: http2-connect-target
DEFAULT BRANCH: main
Ran 19 Jul 2026 04:34PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Jul 2026 04:33PM UTC coverage: 87.599% (+0.05%) from 87.546%
e26824eafcb7e61434cb5454341c896b32169a3e-PR-494

Pull #494

github

ericmj
Don't leak target options into the proxy connection in forward-proxy mode

Mint.HTTP.connect/4 merged the target connect options with the proxy
options and handed the whole set to the connection to the proxy. A
target :hostname was therefore used as the proxy connection's hostname,
so with an :https proxy the proxy's certificate was verified against
the target's identity, and :transport_opts meant for the target applied
to the proxy socket.

Forward-proxy mode now keeps the two option sets separate, like tunnel
mode already does: the proxy connection is configured by the options in
the :proxy tuple, while the options given to Mint.HTTP.connect/4
describe the target (its :hostname identity and the :proxy_headers).
Pull Request #494: Don't leak target options into the proxy connection in forward-proxy mode

1434 of 1637 relevant lines covered (87.6%)

492.55 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
62.86
-1.03% lib/mint/http.ex
Jobs
ID Job ID Ran Files Coverage
1 e26824eafcb7e61434cb5454341c896b32169a3e-PR-494.1 19 Jul 2026 04:34PM UTC 20
87.6
GitHub Action Run
Source Files on build e26824eafcb7e61434cb5454341c896b32169a3e-PR-494
  • Tree
  • List 20
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #494
  • PR Base - main (#57B12953...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc