mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-09 20:00:11 -06:00
The Linux same-user check read the uid of the listener's side of the connection from /proc/net/tcp. Until the listener accepts it, that row has no socket file (inode 0) and reads uid 0 whoever listens, so a Zotero that hadn't accepted yet was refused as "another user (uid 0)". The ui-egui Zotero tests failed about one run in three on a busy machine because of it. Rows without a socket file (unaccepted connections, TIME_WAIT) are now skipped, and the listening row on the listener's address stands in for the connection's own; two users listening there is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>