Timothy Flynn
8f6169859d
LibWebSocket: Remove meaningless const&&
Message constructor
...
This results in an ambiguity error in an upcoming commit.
2025-03-09 11:14:20 -04:00
devgianlu
752f5b18fd
LibWebSocket: Ensure TLS connection is opened as non-blocking
2025-02-22 18:39:58 +01:00
Andrew Kaster
06faa7b160
LibWebSocket+RequestServer: Resolve WebSocket hosts using our resolver
CI / Lagom (true, NO_FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, ubuntu-24.04, Linux, GNU) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (macos-14, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Build Dev Container Image / build (push) Has been cancelled
2025-02-20 15:04:50 -07:00
Andrew Kaster
71942d53eb
LibWebSocket+RequestServer: Add a WebSocketImpl using libcurl
...
This implementation can be better improved in the future by ripping
out a lot of the manual logic in LibWebSocket and rely on libcurl to
parse our message payloads. But for now, this uses the 'raw mode' of
curl websockets in connect-only mode to allow for somewhat seamless
integration into our event loop.
2025-02-20 15:04:50 -07:00
Andrew Kaster
ad985f3227
LibWebSocket: Only call send() once on WebSocketImpl
...
The previous implementation would call send a half-dozen times
when sending each frame of WebSocket data. This is excessive,
especially since we need to allocate a new buffer for the payload
in order to mask it anyway. Let's just allocate one buffer up front,
and send all the completed data at the end of the method
2025-02-20 15:04:50 -07:00
devgianlu
24d3da64e5
LibWebSocket: Support specifying root certificate path
2025-02-17 19:52:43 +01:00
devgianlu
7a38a3e994
LibTLS: Replace TLSv12
implementation with OpenSSL
2025-02-17 19:52:43 +01:00
rmg-x
f5d13e32af
LibWebSocket: Use Crypto::fill_with_secure_random
instead of PRNG
2024-12-24 17:54:52 +01:00
Sam Atkins
900c131178
LibURL: Make URL::serialized_host() infallible
...
This can no longer fail, so update the return type to match.
This makes a few more methods now unable to return errors, but one thing
at a time. 😅
2024-11-30 12:07:39 +01:00
Pavel Shliak
001df24935
LibWebSocket: Clean up #include directives
...
This change aims to improve the speed of incremental builds.
2024-11-21 14:08:33 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00