Add support for kTLS

Reference: https://gitlab.com/go-extension/tls
This commit is contained in:
世界
2026-01-17 05:44:42 +08:00
parent f84129ca79
commit 107f92381b
59 changed files with 2682 additions and 222 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
aTLS "github.com/sagernet/sing/common/tls"
)
func NewServer(ctx context.Context, logger log.Logger, options option.InboundTLSOptions) (ServerConfig, error) {
func NewServer(ctx context.Context, logger log.ContextLogger, options option.InboundTLSOptions) (ServerConfig, error) {
if !options.Enabled {
return nil, nil
}