Use a code-1000 close handshake for intentional disconnects, wait for pending closes during deactivation, and bound shutdown to five seconds. Preserve immediate termination for failed connections and guard reconnects against stale sessions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| controls.test.ts | ||
| host.ts | ||
| repl.test.ts | ||
| server.test.ts | ||
| server.ts | ||
| sources.test.ts | ||
| websocket.test.ts | ||