mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 13:18:50 +00:00
Bug fix
This commit is contained in:
parent
186d995919
commit
f8ae1b8c49
4 changed files with 10 additions and 14 deletions
|
@ -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,12 +453,13 @@ 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)
|
||||||
{
|
{
|
||||||
Logging.SaveLog(ex.Message, ex);
|
Logging.SaveLog(ex.Message, 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; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
v2rayN/v2rayN/Resx/ResUI.Designer.cs
generated
2
v2rayN/v2rayN/Resx/ResUI.Designer.cs
generated
|
@ -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…
Reference in a new issue