From e1782a285ec5e5e1ab4081834e6d7b08d184fbb8 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Fri, 8 May 2026 22:46:59 -0500 Subject: [PATCH] =?UTF-8?q?release:=20v0.3.2=20=E2=80=94=20bump=20websocke?= =?UTF-8?q?t=20to=20v0.1.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Picks up zzstoatzz/websocket.zig#1: streaming Handshake.parse onto std.http.HeadParser plus RFC 7230 strictness. Fixes the recurring class of TCP-fragmentation parser bugs by replacing the one-shot buffer matcher with a stdlib SIMD streaming state machine. Two new error variants from the upstream parser: error.WhitespaceBeforeColon (RFC 7230 §3.2) error.AmbiguousBodyLength (RFC 7230 §3.3) Both manifest as 400 responses; downstreams that switch on Handshake.parse errors should add arms for these if they want specific handling, otherwise they fall through to the generic 400 path. Co-Authored-By: Claude Opus 4 (1M context) --- build.zig.zon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index a057b8f..f5268bd 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,12 +1,12 @@ .{ .name = .zat, - .version = "0.3.1", + .version = "0.3.2", .fingerprint = 0x8da9db57ee82fbe4, .minimum_zig_version = "0.16.0-dev.3070+b22eb176b", .dependencies = .{ .websocket = .{ - .url = "https://github.com/zzstoatzz/websocket.zig/archive/3c6794a.tar.gz", - .hash = "websocket-0.1.0-ZPISdYv9AwB5YM5SQKd7B9kRGNcQ4O8f68yfYsCMfU5h", + .url = "https://github.com/zzstoatzz/websocket.zig/archive/refs/tags/v0.1.1.tar.gz", + .hash = "websocket-0.1.1-ZPISdRI8BAAGcBRyGf0a4qlxvFDdqNKWUsuVQYh1Ih62", }, .@"atproto-interop-tests" = .{ .url = "https://github.com/bluesky-social/atproto-interop-tests/archive/35bb5638ab1e5ce71fb88a0c95953fc557ef1925.tar.gz", -- 2.51.2