From 96eb98c00a718d2caf399eb4b8ab4ec34c16e50b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 14 Mar 2025 14:51:35 +0800 Subject: [PATCH] Fix httpupgrade crash --- transport/v2rayhttpupgrade/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/transport/v2rayhttpupgrade/server.go b/transport/v2rayhttpupgrade/server.go index 3d025477..338b7248 100644 --- a/transport/v2rayhttpupgrade/server.go +++ b/transport/v2rayhttpupgrade/server.go @@ -38,6 +38,7 @@ type Server struct { func NewServer(ctx context.Context, logger logger.ContextLogger, options option.V2RayHTTPUpgradeOptions, tlsConfig tls.ServerConfig, handler adapter.V2RayServerTransportHandler) (*Server, error) { server := &Server{ ctx: ctx, + logger: logger, tlsConfig: tlsConfig, handler: handler, host: options.Host,