Pārlūkot izejas kodu

Fix TUIC server TLS config not started

世界 2 gadi atpakaļ
vecāks
revīzija
2686e8afea
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      inbound/tuic.go

+ 1 - 0
inbound/tuic.go

@@ -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,