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

HarryR / nt365 / 26656788012
44%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 07:12PM UTC
Jobs 1
Files 577
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

29 May 2026 07:07PM UTC coverage: 41.886% (+0.09%) from 41.792%
26656788012

push

github

HarryR
afd: strip dead connect/disconnect-data machinery

AFD carried a full connect-data / connect-options / disconnect-data /
disconnect-options vertical (AFD_CONNECT_DATA_BUFFERS, 8 slots, 12 IOCTLs,
plus the ws2_32 SO_CONNDATA/CONNOPT/DISCDATA/DISCOPT sockopt mappings). It
only does anything for legacy connection-oriented transports whose handshake
PDUs carry user payload (OSI TP4, DECnet, AppleTalk, SPX-II). MicroNT is
IPv4 + TCP/UDP + raw IP only, and the TCP/IP TDI transport neither emits nor
accepts connect data, so the entire vertical is dead code no transport can
ever exercise.

Removed:
  - AFDSTR.H: AFD_CONNECT_DATA_INFO/AFD_CONNECT_DATA_BUFFERS structs and the
    ConnectDataBuffers field from AFD_CONNECTION and AFD_ENDPOINT.
  - MISC.C: AfdGetConnectData/AfdSetConnectData/AfdFreeConnectDataBuffers.
  - DISPATCH.C: the 12 IOCTL_AFD_{SET,GET}_{CONNECT,DISCONNECT}_{DATA,OPTIONS}
    + IOCTL_AFD_SIZE_* cases.
  - CONNECT.C: AfdSetupConnectDataBuffers + the connect-data blocks in
    AfdConnect/AfdRestartConnect.
  - LISTEN.C: CopyConnectDataBuffers/CopySingleConnectDataBuffer + the
    AfdConnectEventHandler connect-data capture.
  - DISCONN.C: the inbound disconnect-data capture and the AfdBeginDisconnect
    connect-data block.
  - BLKCONN.C/BLKENDP.C: the AfdFreeConnectDataBuffers teardown calls.
  - INC/AFD.H: the 12 IOCTL definitions.
  - WS2_32/SOCKOPT.C: the SO_CONN*/SO_DISC* get/setsockopt cases and the
    SockPassConnectData helper (those sockopts now return WSAENOPROTOOPT).

Live paths preserved: TdiBuildConnect keeps RemoteAddress, TdiBuildDisconnect
gets NULL connection-info (correct for TCP/IP), accept/connection setup and
poll indications are untouched. The separate endpoint Context mechanism
(IOCTL_AFD_*_CONTEXT, endpoint->Context — ws2_32 per-socket state) is left
intact. 1087 lines deleted; afd.sys and ws2_32.dll build clean and the AFD
selftest (UDP/TCP loopback, accept, DNS, HTTP) passes.

Co-Authored-By: Claude Opus 4.8 (1M con... (continued)

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

155 existing lines in 10 files now uncovered.

47741 of 113979 relevant lines covered (41.89%)

2776.14 hits per line

Coverage Regressions

Lines Coverage ∆ File
81
55.81
-8.31% src/NT/PRIVATE/NTOS/NTHALS/HAL/I386/stubs.c
27
66.6
0.07% src/NT/PRIVATE/NTOS/INIT/INIT.C
24
73.64
30.51% src/NT/PRIVATE/NTOS/DD/VIORNG/VIORNG.C
14
57.33
-7.48% src/NT/PRIVATE/NTOS/NTHALS/HAL/I386/random.c
2
55.26
-1.05% src/NT/PRIVATE/NTOS/AFD/SEND.C
2
84.3
-1.65% src/NT/PRIVATE/NTOS/CACHE/LAZYRITE.C
2
40.31
-0.63% src/NT/PRIVATE/NTOS/RTL/BITMAP.C
1
74.47
18.53% src/NT/PRIVATE/NTOS/AFD/LISTEN.C
1
49.03
-0.24% src/NT/PRIVATE/NTOS/AFD/POLL.C
1
48.1
-0.16% src/NT/PRIVATE/NTOS/CACHE/FSSUP.C
Jobs
ID Job ID Ran Files Coverage
1 26656788012.1 29 May 2026 07:12PM UTC 577
41.89
GitHub Action Run
Source Files on build 26656788012
  • Tree
  • List 577
  • Changed 22
  • Source Changed 11
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26656788012
  • 719534b7 on github
  • Prev Build on main (#26632890045)
  • Next Build on main (#26681931781)
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