mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-01 07:33:12 +08:00
evolving-let-socket-optional-reads.cjs ended the server's side of the connection as soon as it was accepted and closed the server while the client was still ending its own side. On macOS the client could then read ECONNRESET, under Node and the compiled program alike, and each reports the unhandled 'error' event in its own form. The server now ends its side once the client's end arrives, and the server closes when the client socket has closed. The program's output is unchanged.