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

elixir-mint / mint / d9e1824cf496eb6e616ae949c18ee8927d48b9bf
88%

Build:
DEFAULT BRANCH: main
Ran 21 Jul 2026 04:06PM UTC
Jobs 1
Files 21
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

21 Jul 2026 04:05PM UTC coverage: 87.935% (+0.05%) from 87.884%
d9e1824cf496eb6e616ae949c18ee8927d48b9bf

push

github

web-flow
Fix hostname/address handling in tunnel proxies (#496)

Tunnel mode had the two halves of the documented contract inverted.
establish_proxy/2 built the CONNECT authority from the :hostname
override, so a pinned-IP address was never sent to the proxy and DNS
pinning silently stopped working through tunnels. upgrade_connection/3
then used the raw address as the TLS identity, so SNI, certificate
verification, and the post-tunnel Host header / HTTP/2 :authority all
used the address instead of the declared identity; with an :inet tuple
address (documented as supported) the upgrade raised in
String.to_charlist/1.

Now the CONNECT request targets the connection address (with :inet
tuples formatted via :inet.ntoa/1 and IPv6 addresses bracketed) while
the TLS upgrade uses the same identity resolution as direct
connections. The Host header of the CONNECT request is set to the
authority-form target as required by RFC 9112, section 3.2.3; it
previously named the proxy.

The pkix_test_data/1 helper duplicated in two test modules moved to a
shared Mint.TestCertificates support module.

13 of 14 new or added lines in 1 file covered. (92.86%)

12 existing lines in 1 file now uncovered.

1465 of 1666 relevant lines covered (87.94%)

494.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
78.33
2.86% lib/mint/tunnel_proxy.ex

Coverage Regressions

Lines Coverage ∆ File
12
65.71
0.0% lib/mint/http.ex
Jobs
ID Job ID Ran Files Coverage
1 d9e1824cf496eb6e616ae949c18ee8927d48b9bf.1 21 Jul 2026 04:06PM UTC 21
87.94
GitHub Action Run
Source Files on build d9e1824cf496eb6e616ae949c18ee8927d48b9bf
  • Tree
  • List 21
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d9e1824c on github
  • Prev Build on main (#16D6B566...)
  • Next Build on main (#BC24618C...)
  • 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