This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: resolve send() on 'finish' instead of 'close'

Fixes #18

'close' requires both sides to send FIN (full bidirectional TCP close).
In Linux namespace containers, the server's automatic FIN via
allowHalfOpen: false is unreliable, causing send() to hang until timeout.

'finish' fires when socket.end() has been flushed to the OS kernel,
which is sufficient for Unix domain sockets.

Johannes Schickling (Apr 16, 2026, 1:38 PM +0200) f134bf63 c73ce0ce

+1 -1
+1 -1
src/client.ts
··· 176 176 process.exit(1); 177 177 }); 178 178 179 - socket.on("close", () => { 179 + socket.on("finish", () => { 180 180 process.exit(0); 181 181 }); 182 182 }