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

elixir-mint / mint / 5d8c622fd5e76ca8cb415a8855a345f2ece86842-PR-481
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: next_body_chunk
DEFAULT BRANCH: main
Ran 13 Apr 2026 09:17PM 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

13 Apr 2026 09:11PM UTC coverage: 88.143% (+0.4%) from 87.772%
5d8c622fd5e76ca8cb415a8855a345f2ece86842-PR-481

Pull #481

github

ericmj
Track advertised receive window synchronously in initiate/5

Streams opened before the server's SETTINGS ACK arrived were reading
their initial receive window from `conn.client_settings`, which still
held library defaults at that point. If the user advertised a stream
window smaller than the default (e.g. `initial_window_size: 65_535`),
the stream struct tracked the 4 MB default locally while the server
respected the 65_535 we sent in SETTINGS. The client's remaining
window never dropped to the refill threshold, stream-level
WINDOW_UPDATE frames never fired, and the connection stalled once the
server exhausted its per-stream send window.

Mirror the advertised `client_settings_params` into
`conn.client_settings` during `initiate/5` — the sender already knows
what it committed to and doesn't need to wait for the ACK to act on
it. Add a regression test that opens a stream before the ACK round
trip and asserts the stream struct reflects the advertised value.

Also rename `receive_window` to `receive_window_remaining` so the
peak/remaining distinction is clear at the call site, and document
that `:receive_window_update_threshold` is shared between the
connection and per-stream windows (so windows at or below the
threshold refill on every DATA frame).
Pull Request #481: Raise default HTTP/2 receive windows and batch HTTP/2 receive-window refills

81 of 86 new or added lines in 1 file covered. (94.19%)

36 existing lines in 1 file now uncovered.

1353 of 1535 relevant lines covered (88.14%)

245.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
94.22
0.29% lib/mint/http2.ex

Coverage Regressions

Lines Coverage ∆ File
36
94.22
0.29% lib/mint/http2.ex
Jobs
ID Job ID Ran Files Coverage
1 5d8c622fd5e76ca8cb415a8855a345f2ece86842-PR-481.1 13 Apr 2026 09:17PM UTC 21
88.14
GitHub Action Run
Source Files on build 5d8c622fd5e76ca8cb415a8855a345f2ece86842-PR-481
  • Tree
  • List 21
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #481
  • PR Base - main (#0BFCC869...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc