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

elixir-mint / mint / 5f5ef66401ca6f3a1e18fe054cfc706eeeb20f6d-PR-547
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: push-promise-authority
DEFAULT BRANCH: main
Ran 16 Nov 2026 04:46PM UTC
Jobs 1
Files 22
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

16 Nov 2026 04:42PM UTC coverage: 90.523% (+0.05%) from 90.476%
5f5ef66401ca6f3a1e18fe054cfc706eeeb20f6d-PR-547

Pull #547

github

ericmj
Reset HTTP/2 pushes for other origins

Mint.HTTP2 checked that a PUSH_PROMISE carried non-empty :scheme and
:authority pseudo-headers but never compared them to the connection, so
a server on https://a.example could promise a response for
https://b.example and Mint returned it to the caller as a
:push_promise. RFC 9113 8.4.1 requires the client to check that the
server is authoritative for a pushed request and to treat a push that
fails the check as a stream error of type PROTOCOL_ERROR. A caller that
stores pushed responses under the promised URL would otherwise store
another origin's content.

Pushes are now accepted only for the connection's own origin: the
promised :scheme must equal the connection's scheme and the promised
:authority must equal the connection's authority, ignoring case and an
explicit default port. Other pushes reset the promised stream with
PROTOCOL_ERROR, like the other invalid promised requests. RFC 9113 10.1
also allows pushes for any origin covered by the server's certificate,
which Mint doesn't track per connection, so those are reset as well.
Pull Request #547: Reset HTTP/2 pushes for other origins

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

1853 of 2047 relevant lines covered (90.52%)

757.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5f5ef66401ca6f3a1e18fe054cfc706eeeb20f6d-PR-547.1 16 Nov 2026 04:46PM UTC 22
90.52
GitHub Action Run
Source Files on build 5f5ef66401ca6f3a1e18fe054cfc706eeeb20f6d-PR-547
  • Tree
  • List 22
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #547
  • PR Base - main (#7223C00C...)
  • 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