Fix TUIC server TLS config not started

This commit is contained in:
世界 2023-10-25 12:00:00 +08:00
parent d9853ca2be
commit 2686e8afea
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -49,6 +49,7 @@ func NewTUIC(ctx context.Context, router adapter.Router, logger log.ContextLogge
tag: tag,
listenOptions: options.ListenOptions,
},
tlsConfig: tlsConfig,
}
service, err := tuic.NewService[int](tuic.ServiceOptions{
Context: ctx,