atproto relay in zig zlay.waow.tech
relay zig atproto
Something went wrong. Try again.
fix pingLoop use-after-free: respect cancellation, check isClosed master
pingLoop swallowed error.Canceled from io.sleep(), preventing ping_future.cancel() from stopping the task before client.deinit() freed the stream/TLS buffers. next writeFrame hit freed memory → GPF. two changes: - io.sleep() catch {} → catch return (cancellation-cooperative) - check client.isClosed() before writeFrame (defense-in-depth) also bumps zat to v0.3.0-alpha.11 and websocket.zig to 104608b. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author zzstoatzz Co-author Claude Opus 4.6 Date (Apr 3, 2026, 2:22 AM UTC) Commit 6d6c832c 6d6c832cd37c1321401eccc7a4186803838724c2 Parent 59ff078f 59ff078f9e892fc3c56d45570d2c4f60cb7c0736