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

elixir-mint / mint / 4e38b23d103001ff01c5e4cd81db5b7c38d6f8c0
88%

Build:
DEFAULT BRANCH: main
Ran 21 Jul 2026 12:15PM 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

21 Jul 2026 12:14PM UTC coverage: 87.881% (+0.3%) from 87.546%
4e38b23d103001ff01c5e4cd81db5b7c38d6f8c0

push

github

web-flow
Fix CONNECT response framing and IPv6 authority in tunnel proxies (#493)

* Ignore content-length and transfer-encoding in 2xx responses to CONNECT

RFC 9110 (section 9.3.6) forbids these header fields in a successful
response to CONNECT and requires clients to ignore them when present.
The HTTP/1 parser treated them as regular body framing, so a proxy
replying to CONNECT with "200" plus "content-length: 0" - which some
real proxies send - emitted {:done, ref} as a body response, and
Mint.TunnelProxy rejected the tunnel with :unexpected_trailing_responses.

Any 2xx response to CONNECT is now body-less: the response is done at
the end of the header section and everything after it belongs to the
tunnel, so it stays in the buffer instead of being parsed.

* Bracket IPv6 addresses in the CONNECT authority

The authority-form request target requires IPv6 addresses to be
enclosed in square brackets (RFC 3986, section 3.2.2), but the tunnel
proxy sent "CONNECT ::1:443" for IPv6 targets, which proxies cannot
parse unambiguously.

6 of 6 new or added lines in 2 files covered. (100.0%)

1443 of 1642 relevant lines covered (87.88%)

497.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4e38b23d103001ff01c5e4cd81db5b7c38d6f8c0.1 21 Jul 2026 12:15PM UTC 20
87.88
GitHub Action Run
Source Files on build 4e38b23d103001ff01c5e4cd81db5b7c38d6f8c0
  • Tree
  • List 20
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4e38b23d on github
  • Prev Build on main (#57B12953...)
  • Next Build on main (#B63EAAA5...)
  • 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