pull/4848/head
2dust 9 months ago
parent 186d995919
commit f8ae1b8c49

@ -426,11 +426,6 @@ namespace v2rayN.Handler
transport.path = Utile.IsNullOrEmpty(node.path) ? null : node.path; transport.path = Utile.IsNullOrEmpty(node.path) ? null : node.path;
} }
} }
else
{
transport = null;
}
break; break;
case nameof(ETransport.ws): case nameof(ETransport.ws):
@ -458,11 +453,12 @@ namespace v2rayN.Handler
break; break;
default: default:
transport = null;
break; break;
} }
if (transport.type != null)
outbound.transport = transport; {
outbound.transport = transport;
}
} }
catch (Exception ex) catch (Exception ex)
{ {

@ -158,14 +158,14 @@
public class Transport4Sbox public class Transport4Sbox
{ {
public string type { get; set; } public string? type { get; set; }
public List<string>? host { get; set; } public List<string>? host { get; set; }
public string? path { get; set; } public string? path { get; set; }
public Headers4Sbox? headers { get; set; } public Headers4Sbox? headers { get; set; }
public string service_name { get; set; } public string? service_name { get; set; }
public string idle_timeout { get; set; } public string? idle_timeout { get; set; }
public string ping_timeout { get; set; } public string? ping_timeout { get; set; }
public bool? permit_without_stream { get; set; } public bool? permit_without_stream { get; set; }
} }

@ -466,7 +466,7 @@ namespace v2rayN.Resx {
} }
/// <summary> /// <summary>
/// 查找类似 Previous proxy remakrs 的本地化字符串。 /// 查找类似 Previous proxy remarks 的本地化字符串。
/// </summary> /// </summary>
public static string LvPrevProfile { public static string LvPrevProfile {
get { get {

@ -1151,7 +1151,7 @@
<value>Congestion control</value> <value>Congestion control</value>
</data> </data>
<data name="LvPrevProfile" xml:space="preserve"> <data name="LvPrevProfile" xml:space="preserve">
<value>Previous proxy remakrs</value> <value>Previous proxy remarks</value>
</data> </data>
<data name="LvNextProfile" xml:space="preserve"> <data name="LvNextProfile" xml:space="preserve">
<value>Next proxy remarks</value> <value>Next proxy remarks</value>

Loading…
Cancel
Save