connclass: cidr/parent/port/limit/globalmax + hashed/trusted-cert passwords, per-class recvq/sendq + fakelag, and rfc1413 ident
This commit is contained in:
parent
f5f888dbaa
commit
f371ed0a18
14 changed files with 842 additions and 126 deletions
|
|
@ -241,6 +241,7 @@ fn ws_session<S: WsStream>(
|
|||
.unwrap_or(addr);
|
||||
let secure = tls_secure || hs.secure;
|
||||
let send_opcode = if hs.binary { OP_BIN } else { OP_TEXT };
|
||||
let local_port = shutdown.local_addr().map(|a| a.port()).unwrap_or(0);
|
||||
|
||||
let (out_tx, out_rx) = std::sync::mpsc::channel::<String>();
|
||||
if core
|
||||
|
|
@ -251,6 +252,7 @@ fn ws_session<S: WsStream>(
|
|||
sock: Some(shutdown),
|
||||
secure,
|
||||
certfp: None,
|
||||
local_port,
|
||||
link: false,
|
||||
outbound: false,
|
||||
websocket: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue