From 556bb1288d301d478cd0e5f05ec92c2b66845ab5 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Sun, 1 Mar 2026 13:34:50 -0600 Subject: [PATCH] fix: use forked websocket.zig with TCP split guard Switch to zzstoatzz/websocket.zig fix/handshake-tcp-split which prevents panics when TCP splits data between \r and \n during WebSocket handshake parsing. Co-Authored-By: Claude Opus 4.6 --- build.zig.zon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index d44a68a..eb2ca93 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,12 +1,12 @@ .{ .name = .zat, - .version = "0.2.7", + .version = "0.2.8", .fingerprint = 0x8da9db57ee82fbe4, .minimum_zig_version = "0.15.0", .dependencies = .{ .websocket = .{ - .url = "https://github.com/karlseguin/websocket.zig/archive/97fefafa59cc78ce177cff540b8685cd7f699276.tar.gz", - .hash = "websocket-0.1.0-ZPISdRlzAwBB_Bz2UMMqxYqF6YEVTIBoFsbzwPUJTHIc", + .url = "https://github.com/zzstoatzz/websocket.zig/archive/50f179cfcb307e4872386658160a451fcdc7738d.tar.gz", + .hash = "websocket-0.1.0-ZPISddZzAwC_4VR6gW24TQVEVfplV0lEr16AyH0InGMX", }, .@"atproto-interop-tests" = .{ .url = "https://github.com/bluesky-social/atproto-interop-tests/archive/35bb5638ab1e5ce71fb88a0c95953fc557ef1925.tar.gz", -- 2.51.2