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

KarpelesLab / slirp / 23945997146
71%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2026 12:22PM UTC
Jobs 1
Files 26
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

03 Apr 2026 12:21PM UTC coverage: 74.724% (+0.2%) from 74.514%
23945997146

push

github

MagicalTux
Implement RFC 7323 window scaling and fix throughput

Window scaling:
- Auto-computed from RecvBufSize (default 1MB → shift 4)
- Always offered in SYN options (enabled by default)
- Negotiated during handshake: both sides must offer WScale
- rcvWindow() now advertises actual buffer availability, scaled
- sndWnd properly shifted by remote's scale factor

Initial congestion window:
- Fixed RFC 6928 formula: min(10*MSS, max(2*MSS, 14600))
- Was incorrectly using 4380 instead of 14600
- Initial window now 14600 bytes (10 segments) instead of 4380 (3)

Data race fix:
- rcvWindow() acquires recvMu when reading recvBuf.Readable()
- Prevents race between HandleSegment (builds ACK under mu)
  and Read() (modifies recvBuf under recvMu)

Throughput improvement at 100ms RTT (50ms one-way):
  Before: 0.5 MB/s (64KB window cap, 3-segment initial window)
  After:  4.0 MB/s (1MB window, 10-segment initial window)

Test sizes increased to 4MB to measure steady-state throughput.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

39 of 46 new or added lines in 2 files covered. (84.78%)

3 existing lines in 2 files now uncovered.

2637 of 3529 relevant lines covered (74.72%)

539.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
59.03
1.89% vtcp/conn.go

Coverage Regressions

Lines Coverage ∆ File
2
90.16
-3.28% vtcp/congestion.go
1
59.03
1.89% vtcp/conn.go
Jobs
ID Job ID Ran Files Coverage
1 23945997146.1 03 Apr 2026 12:22PM UTC 26
74.72
GitHub Action Run
Source Files on build 23945997146
  • Tree
  • List 26
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23945997146
  • 0777a030 on github
  • Prev Build on master (#23945403486)
  • Next Build on master (#23946241323)
  • 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