summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 15:14:00 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit52f3e3615f77f690739c0a3c30ff400a2223ed34 (patch)
tree41e3cd28b083bc37846d0a5023d12d7c4c483bdc /src/gui
parent864407b240b812743d6f57a56daf9706b36fc027 (diff)
downloadpardes-52f3e3615f77f690739c0a3c30ff400a2223ed34.tar.gz
pardes-52f3e3615f77f690739c0a3c30ff400a2223ed34.zip
The 9P socket appears already listening: it is listened on under a name of its own and renamed into place
A client that waits for the socket file and then connects, as fs.py's session helper and scripts do, was sometimes refused under load. The listener bound the socket at its final name, so the file existed a moment before listen(2), and a connect in that window got ECONNREFUSED. Now it listens under `<name>.<pid>`, is chmodded, then renamed over the final name, so that name only ever names a listening socket. A final name held by a live listener is still refused, and a name with no room for the suffix is bound in place as before. The registry test checks the socket is listening where it appears and that the temporary name is gone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions