Skip to content

Bump libnostr-z to v0.3.6 (websocket handshake over-read fix)#8

Merged
kwsantiago merged 1 commit into
mainfrom
chore/bump-libnostr-z-0.3.6
Jun 14, 2026
Merged

Bump libnostr-z to v0.3.6 (websocket handshake over-read fix)#8
kwsantiago merged 1 commit into
mainfrom
chore/bump-libnostr-z-0.3.6

Conversation

@kwsantiago

Copy link
Copy Markdown
Contributor

Bumps the libnostr-z dependency to v0.3.6 and noz to v0.2.1.

v0.3.6 fixes a WebSocket client handshake over-read (privkeyio/libnostr-z#134): the client discarded bytes read past the HTTP 101 response, so a relay's first frame (e.g. a NIP-42 AUTH challenge) was silently dropped when it arrived in the same TCP segment as the upgrade response. Under load this made noz event --auth intermittently fail (the challenge was lost, the next read timed out, the publish reported "rejected").

With v0.3.6: 0 failures across 120 authed publishes under CPU contention and 50 full auth integration runs (previously ~10-17%).

zig build passes.

@kwsantiago kwsantiago merged commit 7a87cff into main Jun 14, 2026
2 checks passed
@kwsantiago kwsantiago deleted the chore/bump-libnostr-z-0.3.6 branch June 14, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant