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

KarpelesLab / slirp / 23944089928
71%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2026 11:06AM 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 11:05AM UTC coverage: 77.274% (-3.6%) from 80.825%
23944089928

push

github

MagicalTux
Add vtcp.Conn: full TCP connection engine with state machine

Phase 2 of the vtcp implementation — the core Conn type that implements
net.Conn with a complete RFC 793 TCP state machine.

Features:
- Active open (Connect) and passive open (AcceptSYN)
- Full state machine: CLOSED → SYN-SENT/SYN-RECEIVED → ESTABLISHED →
  FIN-WAIT-1/2 → TIME-WAIT, CLOSE-WAIT → LAST-ACK, CLOSING
- Data transfer with Read/Write implementing net.Conn
- Send buffer integration with congestion window (RFC 5681 NewReno)
- Receive buffer with out-of-order reassembly
- RTO retransmission with exponential backoff (RFC 6298)
- Fast retransmit on 3 duplicate ACKs
- Keepalive probes (configurable, RFC 1122)
- Read/write deadlines
- Graceful close (FIN) and abort (RST)
- Queue+drain pattern: all packets sent outside mutex, safe for
  synchronous Pipe delivery

Design:
- HandleSegment(seg) returns packets to send (caller sends them)
- SegmentWriter callback for timer-driven sends (RTO, keepalive)
- IP-agnostic: operates on raw TCP segments only
- Thread-safe: concurrent Read/Write/HandleSegment

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

439 of 768 new or added lines in 1 file covered. (57.16%)

3628 of 4695 relevant lines covered (77.27%)

9.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
329
57.16
vtcp/conn.go
Jobs
ID Job ID Ran Files Coverage
1 23944089928.1 03 Apr 2026 11:06AM UTC 26
77.27
GitHub Action Run
Source Files on build 23944089928
  • Tree
  • List 26
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23944089928
  • bb95d8dc on github
  • Prev Build on master (#23943906717)
  • Next Build on master (#23944633769)
  • 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