alpha
Login
or
Join now
karlseguin.tngl.sh
/
websocket.zig
Star
2
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A websocket implementation for zig
Star
2
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
websocket.zig
/
src
/
client
/
at
master
1 file
Kyle 🐆
client: skip poll when TLS plaintext is buffered; surface poll errors
5w ago
443c38ca
client.zig
client: skip poll when TLS plaintext is buffered; surface poll errors Addresses review: a prior read can decrypt more than the caller consumed, leaving plaintext in the TLS client's buffer while the socket is empty, so polling the fd would spuriously time out and starve buffered data. Check reader.bufferedLen() first. A poll failure is surfaced as a read failure (mapped into the fill error set) rather than swallowed.
1 month ago