websocket: native RFC 6455 transport (ws:// + wss://) — handshake, framing, ping/pong keepalive, idle timeout, origin/proxy flags, via_websocket

This commit is contained in:
Jean Chevronnet 2026-08-09 18:45:12 +00:00
parent 97b0d8ad89
commit 19157e0722
7 changed files with 633 additions and 0 deletions

View file

@ -187,6 +187,7 @@ pub fn run_reactor(mut listener: MioListener, core: Sender<Event>, counter: Arc<
certfp: None,
link: false,
outbound: false,
websocket: false,
})
.is_err()
{
@ -384,6 +385,7 @@ pub fn accept_loop(
certfp: None,
link,
outbound: false,
websocket: false,
})
.is_err()
{
@ -432,6 +434,7 @@ pub fn connect_link(addr: &str, core: Sender<Event>, counter: Arc<AtomicU64>) {
certfp: None,
link: true,
outbound: true,
websocket: false,
})
.is_err()
{
@ -516,6 +519,7 @@ fn tls_conn(
certfp,
link,
outbound: false,
websocket: false,
})
.is_err()
{