atproto relay implementation in zig zlay.waow.tech
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

bump zat to alpha.9 + websocket.zig to 0261b7d (client write lock)

fixes GPF in websocket client write path: concurrent writes from ping
loop, auto-pong, and close were interleaving frame headers/payloads on
the shared stream, corrupting memory during memcpy in Writer.zig.

websocket.zig 0261b7d adds _write_lock: Io.Mutex to the client, matching
the server-side Conn.lock pattern. zat alpha.9 pins the same websocket
commit, resolving the diamond dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+4 -4
+4 -4
build.zig.zon
··· 5 5 .minimum_zig_version = "0.16.0", 6 6 .dependencies = .{ 7 7 .zat = .{ 8 - .url = "https://tangled.org/zat.dev/zat/archive/v0.3.0-alpha.8.tar.gz", 9 - .hash = "zat-0.3.0-alpha.7-5PuC7glkBQDzQjzm3qIhaGMoEitGzWcBPZnEixQP_5Lg", 8 + .url = "https://tangled.org/zat.dev/zat/archive/v0.3.0-alpha.9.tar.gz", 9 + .hash = "zat-0.3.0-alpha.7-5PuC7glkBQD-mpet3ahfqhULBFxmbD85iyRix1d2jbno", 10 10 }, 11 11 .websocket = .{ 12 - .url = "https://github.com/zzstoatzz/websocket.zig/archive/edeca26.tar.gz", 13 - .hash = "websocket-0.1.0-ZPISdSmqAwCbwcFtrAQC_q9cegdw-iHyrjCftgfMz-Nf", 12 + .url = "https://github.com/zzstoatzz/websocket.zig/archive/0261b7d.tar.gz", 13 + .hash = "websocket-0.1.0-ZPISddmnAwDF1Jjj9X9ICO8sAJetd3-rdRUA-vCzYfwF", 14 14 }, 15 15 .pg = .{ 16 16 .url = "git+https://github.com/zzstoatzz/pg.zig?ref=dev#5ce2355b1d851075523709c7d3068dcdb0224322",