diff options
| author | Bitflash <btf01@proton.me> | 2026-08-01 21:27:29 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-01 21:27:29 -0300 |
| commit | ca0b6d0c4a3520a87037ba72bb1f1ee10eb504dc (patch) | |
| tree | e0b6ff645e55f42fb754da7945ecfb73d10c10fc /src/selftest.cpp | |
| parent | 09007b4a0321c594083fe1b5e67edbc8b257844b (diff) | |
diag: count the socket leak the way that is true, and say what it found (#100)
Windows lists a wildcard-bound socket twice in MSFT_NetTCPConnection, so counting Bound rows makes the number climb whenever the node talks to more peers -- 35 of a node's 38 Bound rows shared a local port with one of its own established connections. Counting orphans instead: a 1.2.10 node at 26h held 1262 and was still taking on 30-90 an hour; nodes on 1.2.11 and 1.2.12 held 3, transient. The leak was real and 1.2.11 ended it. Adds a live-unconn column (getpeername on every tagged socket, reports 1: the listener) and rewrites the notes that said otherwise.
Diffstat (limited to 'src/selftest.cpp')
0 files changed, 0 insertions, 0 deletions