1 From 38afbd4f03a7b1816b7da30e7c5f5f9eb167f222 Mon Sep 17 00:00:00 2001
2 From: mzz2017 <mzz@tuta.io>
3 Date: Sun, 11 Dec 2022 19:17:20 +0800
4 Subject: [PATCH] fix: check the transport type to avoid abnormal exit of core
7 service/core/serverObj/v2ray.go | 2 ++
8 1 file changed, 2 insertions(+)
10 --- a/core/serverObj/v2ray.go
11 +++ b/core/serverObj/v2ray.go
12 @@ -333,6 +333,8 @@ func (v *V2Ray) Configuration(info Prior
17 + return Configuration{}, fmt.Errorf("unexpected transport type: %v", v.Net)
19 if strings.ToLower(v.TLS) == "tls" {
20 core.StreamSettings.Security = "tls"