VLESS Encryption: Improve server-side tickets' expiration mechanism

https://github.com/XTLS/Xray-core/pull/5067#issuecomment-3253717319
This commit is contained in:
RPRX
2025-09-04 14:03:55 +00:00
committed by GitHub
parent d20397c15d
commit cbade89ab1
5 changed files with 72 additions and 31 deletions
+3
View File
@@ -176,6 +176,9 @@ func isMuxAndNotXUDP(request *protocol.RequestHeader, first *buf.Buffer) bool {
// Close implements common.Closable.Close().
func (h *Handler) Close() error {
if h.decryption != nil {
h.decryption.Close()
}
return errors.Combine(common.Close(h.validator))
}