alpha
Login
or
Join now
karlseguin.tngl.sh
/
websocket.zig
Star
0
Fork
0
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
0
Fork
0
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
2 folders
8 files
at
3674c00360857fbcff292f1348fa46e09bb6ba6f
Kyle 🐆
client: skip poll when TLS plaintext is buffered; surface poll errors
5w ago
443c38ca
client
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
server
Make it build on windows Import what we need from 0.15 windows and ws2_32.
2 months ago
buffer.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
posix.zig
try socket-correct APIs for windows
2 months ago
proto.zig
try socket-correct APIs for windows
2 months ago
t.zig
Make it build on windows Import what we need from 0.15 windows and ws2_32.
2 months ago
testing.zig
EXPERIMENAL Zig 0.16 support
3 months ago
websocket.zig
EXPERIMENAL Zig 0.16 support
3 months ago
windows.zig
try socket-correct APIs for windows
2 months ago
ws2_32.zig
Make it build on windows Import what we need from 0.15 windows and ws2_32.
2 months ago