util/bit53.lua
author Kim Alvefur <zash@zash.se>
Fri, 21 Jan 2022 18:42:38 +0100
changeset 12211 65e252940337
parent 10245 48f7cda4174d
child 12362 d77d8fba44ad
permissions -rw-r--r--
mod_s2s: Retrieve TLS context for outgoing Direct TLS connections from mod_tls So that the same TLS context is used for both Direct TLS and starttls, since they are supposed to be functionally identical apart from the few extra round trips. A new event is added because the 's2s-created' event fires much later, after a connection has already been established, where we need the TLS context before that.

-- Only the operators needed by net.websocket.frames are provided at this point
return {
	band   = function (a, b) return a & b end;
	bor    = function (a, b) return a | b end;
	bxor   = function (a, b) return a ~ b end;
};