File

teal-src/util/crand.d.tl @ 12298:cb459f8fa740

mod_c2s,mod_s2s: Disable and close port listeners before closing sessions This ensures no new clients can start connecting during shutdown
author Kim Alvefur <zash@zash.se>
date Fri, 11 Feb 2022 21:36:53 +0100
parent 11459:86904555bffc
line wrap: on
line source

local record lib
	bytes : function (n : integer) : string
	enum sourceid "OpenSSL" "arc4random()" "Linux" end
	_source : sourceid
end
return lib