bq_websocket icon indicating copy to clipboard operation
bq_websocket copied to clipboard

WebSockets in C

Results 15 bq_websocket issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6. Release notes Sourced from ws's releases. 7.4.6 Bug fixes Fixed a ReDoS vulnerability (00c425ec). A specially crafted value of the Sec-Websocket-Protocol header could be...

dependencies

Currently `bqws_pt_connect()` blocks on platforms with POSIX sockets, with some refactoring connecting could be made non-blocking. This can be done transparently as the WebSocket API already has a `CONNECTING` state....

enhancement

Should probably go for 4-wide expanded tabs

cleanup

Don't attempt to receive a new message if the memory budget doesn't allow for it.. Add a function bqws_try_allocate_msg() that return NULL if there's no budget to allocate a message....

enhancement

Increase the default limits so users don't hit them accidentally. Shuold probably aim for 10-100MB max memory usage. Also make sure max memory usage is around 2-5x max received message...

enhancement

The WebSocket specification requires text messages to be validated as UTF-8. Should probably do some unrolling or SSE and NEON to skip through ASCII data as that's probably the most...

correctness

Namespace internal names like `ws_*` `hs_` under `bqws_` for better unity build experience..

enhancement

Rewrite example code to make the samples clearer. It's probably not necessary to include too many features in one example..

documentation

There's already `#if defined(BQWS_USE_SSE)` in `mask_apply()`. We should define `BQWS_USE_NEON` where applicable and use NEON intrinsics to do the masking if possible. Defines to check: - `_MSC_VER` branch: `_M_ARM` or...

good first issue
optimization