upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorBitflash <btf01@proton.me>2026-08-01 21:31:33 -0300
committerGitHub <noreply@github.com>2026-08-01 21:31:33 -0300
commit5358e2396ca6cb371400f685181ef420dcf12382 (patch)
tree6e5a363deafc74d315ad60857b8617d674b763f5 /src/db.cpp
parentca0b6d0c4a3520a87037ba72bb1f1ee10eb504dc (diff)
diag: catch a handle handed out while a site still claims it (#101)
A live node reported one close failing with 10038 (WSAENOTSOCK) at the tunnel's pump end. It leaks nothing; what it says is that a site's bookkeeping and its sockets disagree about ownership -- and Windows reissues a handle number only after its last close, so a site whose bookkeeping outlives its socket will eventually close a number that belongs to a live connection. BtfSocketTag now counts a handle arriving while another site still claims it, which names the site to go and read.
Diffstat (limited to 'src/db.cpp')
0 files changed, 0 insertions, 0 deletions