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

moonbitlang / async / 1134
78%

Build:
DEFAULT BRANCH: main
Ran 31 Aug 2026 05:53AM UTC
Jobs 1
Files 167
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

31 Aug 2026 05:49AM UTC coverage: 77.892% (-0.01%) from 77.906%
1134

push

github

Guest0x0
socket: add reuse_port_lb option to enable SO_REUSEPORT on TcpServer

SO_REUSEPORT lets several sockets bind the same address at once while the
kernel load-balances incoming connections across them, which is the usual
basis for a multi-process server: a supervisor execs N workers, each binds
the same address, and no socket has to be shared between processes.

The load-balancing semantic is Linux-only — the option exists on the BSDs and
MacOS but there the socket that accepts a given connection is unspecified — so
the option is named reuse_port_lb and takes effect only on Linux.

The test binds two servers to one address and asserts that both receive a
connection; the split itself is not deterministic and is not asserted. The
platform check is made at runtime because #cfg(platform=..) only knows windows.

Signed-off-by: Leo Cheng (heke1228) <chengkelfan@qq.com>

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

1 existing line in 1 file now uncovered.

4175 of 5360 relevant lines covered (77.89%)

11090.1 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
83.33
-4.17% src/tls/transport.mbt
Jobs
ID Job ID Ran Files Coverage
1 1134.1 31 Aug 2026 05:53AM UTC 167
77.89
GitHub Action Run
Source Files on build 1134
  • Tree
  • List 167
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c4544891 on github
  • Prev Build on main (#1128)
  • Next Build on main (#1136)
  • 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