Skip to content

Commit

Permalink
Publish v2.7.355
Browse files Browse the repository at this point in the history
  • Loading branch information
trudyhood committed Mar 8, 2023
1 parent 1351e67 commit b130ade
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v2.7.354
# v2.7.355
### Client
* Farture: Windows: Add "Open in Browser" item to system menu
* Update: windows: ""Open in browser" if WebView is not initialized properly
Expand Down
2 changes: 1 addition & 1 deletion Pub/Version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Version": "2.7.355",
"BumpTime": "2023-02-19T08:50:24.5778626Z",
"Prerelease": true,
"Prerelease": false,
"DeprecatedVersion": "2.0.0"
}
2 changes: 1 addition & 1 deletion VpnHood.Client.App.Android/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions VpnHood.Server/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@ public void LogTrack(string protocol, IPEndPoint? localEndPoint, IPEndPoint? des

private void ConfigTcpClient(TcpClient tcpClient)
{
if (_tcpKernelReceiveBufferSize!=null)
tcpClient.ReceiveBufferSize= _tcpKernelReceiveBufferSize.Value;
if (_tcpKernelReceiveBufferSize != null)
tcpClient.ReceiveBufferSize = _tcpKernelReceiveBufferSize.Value;

if (_tcpKernelSendBufferSize!=null)
tcpClient.ReceiveBufferSize= _tcpKernelSendBufferSize.Value;
if (_tcpKernelSendBufferSize != null)
tcpClient.ReceiveBufferSize = _tcpKernelSendBufferSize.Value;
}

public async Task ProcessTcpDatagramChannelRequest(TcpClientStream tcpClientStream, CancellationToken cancellationToken)
Expand All @@ -303,7 +303,7 @@ public async Task ProcessTcpDatagramChannelRequest(TcpClientStream tcpClientStre
UseUdpChannel = false;

// add channel
VhLogger.Instance.LogTrace(GeneralEventId.DatagramChannel,
VhLogger.Instance.LogTrace(GeneralEventId.DatagramChannel,
"Creating a TcpDatagramChannel channel. SessionId: {SessionId}", VhLogger.FormatSessionId(SessionId));
var channel = new TcpDatagramChannel(tcpClientStream);
try
Expand All @@ -312,7 +312,7 @@ public async Task ProcessTcpDatagramChannelRequest(TcpClientStream tcpClientStre
}
catch
{
channel.Dispose();
channel.Dispose();
throw;
}
}
Expand Down Expand Up @@ -503,5 +503,5 @@ public override void OnNewRemoteEndPoint(ProtocolType protocolType, IPEndPoint r
_session.VerifyNetScan(protocolType, remoteEndPoint);
}
}

}
2 changes: 0 additions & 2 deletions VpnHood.ZTest/TestHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,6 @@ public static async Task<bool> WaitForValue<TValue>(object? expectedValue, Func<

return false;
}


public static async Task AssertEqualsWait<T, TValue>(T obj, TValue? expectedValue, Func<T, TValue> valueFactory, string? message = null, int timeout = 5000)
{
await WaitForValue(expectedValue, ()=>valueFactory(obj), timeout);
Expand Down

0 comments on commit b130ade

Please sign in to comment.