SSE /events/blocks now: - Sends `: keepalive` comment every ~30s to detect dead connections - Checks write errors — returns immediately on client disconnect - Prevents connection leak from idle SSE clients Audit found: no heartbeat, no disconnect detection, connections held open forever. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| coverage_test.go | ||
| server.go | ||
| server_integration_test.go | ||
| server_test.go | ||
| wallet_rpc.go | ||
| wallet_rpc_test.go | ||