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, tag: tag,
listenOptions: options.ListenOptions, listenOptions: options.ListenOptions,
}, },
tlsConfig: tlsConfig,
} }
service, err := tuic.NewService[int](tuic.ServiceOptions{ service, err := tuic.NewService[int](tuic.ServiceOptions{
Context: ctx, Context: ctx,