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

Eyevinn / moqtransport / 39774130046
77%
main: 78%

Build:
Build:
LAST BUILD BRANCH: fix/bounded-peer-input
DEFAULT BRANCH: main
Ran 22 Oct 2026 11:55AM UTC
Jobs 1
Files 71
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

22 Oct 2026 11:53AM UTC coverage: 76.586% (+0.02%) from 76.57%
39774130046

Pull #28

github

tobbee
session: end the session when the connection closes

Nothing noticed a connection that went away underneath a session. Both accept loops returned silently when the connection closed, so:

- during the handshake, Run waited out its context for a SETUP that could no longer arrive. A relay that refuses the session by closing the connection, as moq-relay does for a path it does not serve, surfaced as 'context deadline exceeded' instead of its error code and reason (Eyevinn/moqlivemock#157);
- after the handshake, Session.Context stayed alive when the peer closed the connection, although it is documented to end with the session.

The accept loops now call connectionLost, which cancels the session with the connection's error as the cause and releases a handshake still waiting on the peer's SETUP with the same error. A session that ended first, and so closed the connection itself, keeps its own cause. Over quic-go, Run now returns at once with e.g. 'connection closed: Application error 0x10 (remote): unauthorized'.
Pull Request #28: session: end the session when the connection closes

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

6 existing lines in 2 files now uncovered.

4105 of 5360 relevant lines covered (76.59%)

46.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
76.7
-1.94% request_stream.go
3
75.74
0.53% session.go
Jobs
ID Job ID Ran Files Coverage
1 39774130046.1 22 Oct 2026 11:55AM UTC 71
76.59
GitHub Action Run
Source Files on build 39774130046
  • Tree
  • List 71
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #28
  • PR Base - main (#36566598934)
  • 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