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

elixir-mint / mint / bfc6454f92ade5bb7afeede28b3f741378fc985c
88%

Build:
DEFAULT BRANCH: main
Ran 07 Sep 2026 11:21AM 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

07 Sep 2026 11:20AM UTC coverage: 88.353% (+0.3%) from 88.097%
bfc6454f92ade5bb7afeede28b3f741378fc985c

push

github

web-flow
Close TCP sockets on errors in HTTP/1 (#502)

In some cases, when handling a failure, Mint would only set the conn
state to :closed but would not close the underlying socket. These
sockets stay open until the calling process that owns them exits, and
may therefore accumulate until resources are exhausted.

Every relevant %{conn | state: :closed} inside Mint.HTTP1 is replaced
with internal_close that in addition to setting the state also closes
the socket.

Tests that asserted closed conn now also assert that the socket is
closed. New tests that demonstrate the problem are added. They would
fail without the fix and they pass with the fix in place.

Fixes #501.

6 of 8 new or added lines in 1 file covered. (75.0%)

1502 of 1700 relevant lines covered (88.35%)

517.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
86.14
0.94% lib/mint/http1.ex
Jobs
ID Job ID Ran Files Coverage
1 bfc6454f92ade5bb7afeede28b3f741378fc985c.1 07 Sep 2026 11:21AM UTC 21
88.35
GitHub Action Run
Source Files on build bfc6454f92ade5bb7afeede28b3f741378fc985c
  • Tree
  • List 21
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bfc6454f on github
  • Prev Build on main (#2ED27CA8...)
  • 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