Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47dce69aa4 | ||
|
|
3aeaadade6 |
@@ -847,7 +847,7 @@ namespace v2rayN.Forms
|
||||
{
|
||||
//刷新
|
||||
RefreshServers();
|
||||
LoadV2ray();
|
||||
//LoadV2ray();
|
||||
UI.Show(UIRes.I18N("SuccessfullyImportedCustomServer"));
|
||||
}
|
||||
else
|
||||
@@ -1136,7 +1136,7 @@ namespace v2rayN.Forms
|
||||
{
|
||||
//TODO: reload is not good.
|
||||
RefreshServers();
|
||||
LoadV2ray();
|
||||
//LoadV2ray();
|
||||
}
|
||||
}
|
||||
private void menuSelectAll_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -624,8 +624,7 @@ namespace v2rayN.Handler
|
||||
//ws
|
||||
case "ws":
|
||||
WsSettings wsSettings = new WsSettings
|
||||
{
|
||||
connectionReuse = true
|
||||
{
|
||||
};
|
||||
|
||||
string path = config.path();
|
||||
@@ -689,7 +688,6 @@ namespace v2rayN.Handler
|
||||
{
|
||||
TcpSettings tcpSettings = new TcpSettings
|
||||
{
|
||||
connectionReuse = true,
|
||||
header = new Header
|
||||
{
|
||||
type = config.headerType()
|
||||
|
||||
@@ -420,11 +420,7 @@ namespace v2rayN.Mode
|
||||
}
|
||||
|
||||
public class TcpSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否重用 TCP 连接
|
||||
/// </summary>
|
||||
public bool connectionReuse { get; set; }
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据包头部伪装设置
|
||||
/// </summary>
|
||||
@@ -488,12 +484,7 @@ namespace v2rayN.Mode
|
||||
}
|
||||
|
||||
public class WsSettings
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public bool connectionReuse { get; set; }
|
||||
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
||||
@@ -32,4 +32,4 @@ using System.Runtime.InteropServices;
|
||||
// 方法是按如下所示使用“*”:
|
||||
//[assembly: AssemblyVersion("1.0.*")]
|
||||
//[assembly: AssemblyVersion("1.0.0")]
|
||||
[assembly: AssemblyFileVersion("3.28")]
|
||||
[assembly: AssemblyFileVersion("3.29")]
|
||||
|
||||
Reference in New Issue
Block a user