Something went wrong. Try again.
websocket forked from zzstoatzz.io/websocket.zig
Something went wrong. Try again.
add readLoopWithHeartbeat: merged keepalive + read in single task
read() now returns null on WouldBlock (SO_RCVTIMEO fired), letting callers decide what to do. readLoopWithHeartbeat() uses this to send pings on idle intervals and close after max_failures consecutive timeouts — eliminating the need for a separate ping task/thread. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author zzstoatzz Co-author Claude Opus 4.6 Date (Apr 3, 2026, 3:59 AM UTC) Commit
Copy SHA
Parent 104608ba 104608ba89a1cebb691cf9db6127dd9fc0f5c668