Skip to content

Commit

Permalink
NuGet v5.1.7, disable Nagle by default, thank you @sancheolz
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristn committed Aug 25, 2023
1 parent ec984fa commit d433347
Show file tree
Hide file tree
Showing 26 changed files with 31 additions and 28 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ v5.1.x

- Strong name signing
- Better exception logging
- Set ```Settings.NoDelay``` to ```true``` by default (disabling Nagle's algorithm)

## Previous Versions

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ Special thanks to the following people for their support and contributions to th
@NormenSchwettmann @karstennilsen @motridox @AdamFrisby @Job79 @Dijkstra-ru @playingoDEERUX
@DuAell @syntacs @zsolt777 @broms95 @Antwns @MartyIX @Jyck @Memphizzz @nirajgenius
@cee-sharp @jeverz @cbarraco @DenisBalan @Markonius @Ahmed310 @markashleybell @thechosensausage
@JVemon @eatyouroats @bendablegears @Laiteux @fisherman6v6 @wesoos @YorVeX @tovich37
@JVemon @eatyouroats @bendablegears @Laiteux @fisherman6v6 @wesoos @YorVeX @tovich37 @sancheolz

If you'd like to contribute, please jump right into the source code and create a pull request, or, file an issue with your enhancement request.

## New in v5.1.x

- Strong name signing
- Better exception logging
- Set ```Settings.NoDelay``` to ```true``` by default (disabling Nagle's algorithm)

## Test Applications

Expand Down
2 changes: 1 addition & 1 deletion src/Test.Client/Test.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.ClientStream/Test.ClientStream.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.Deadlock/Test.Deadlock.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.FastDisconnect/Test.FastDisconnect.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.FileTransfer/Test.FileTransfer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.LargeMessages/Test.LargeMessages.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.MaxConnections/Test.MaxConnections.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.Metadata/Test.Metadata.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.MultiClient/Test.MultiClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.MultiThread/Test.MultiThread.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.NonExistentServer/Test.NonExistentServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.Parallel/Test.Parallel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.PartialStream/Test.PartialStream.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.Reconnect/Test.Reconnect.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.Server/Test.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.ServerStream/Test.ServerStream.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.SyncMessages/Test.SyncMessages.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.Throughput/Test.Throughput.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Test.TimeoutRecovery/Test.TimeoutRecovery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Test.WinFormServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using WatsonTcp;

namespace Test.WinFormServer
{
Expand Down
4 changes: 2 additions & 2 deletions src/WatsonTcp/WatsonTcp.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net461;net462;net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>5.1.6</Version>
<Version>5.1.7</Version>
<Authors>Joel Christner</Authors>
<Company>Joel Christner</Company>
<Description>A simple C# async TCP server and client with integrated framing for reliable transmission and receipt of data</Description>
Expand Down
4 changes: 2 additions & 2 deletions src/WatsonTcp/WatsonTcp.xml

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

4 changes: 2 additions & 2 deletions src/WatsonTcp/WatsonTcpClientSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ public int LocalPort
}

/// <summary>
/// Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is false.
/// Nagle's algorithm. Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is true.
/// </summary>
public bool NoDelay { get; set; } = false;
public bool NoDelay { get; set; } = true;

#endregion

Expand Down
4 changes: 2 additions & 2 deletions src/WatsonTcp/WatsonTcpServerSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ public List<string> BlockedIPs
}

/// <summary>
/// Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is false.
/// Nagle's algorithm. Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is true.
/// </summary>
public bool NoDelay { get; set; } = false;
public bool NoDelay { get; set; } = true;

#endregion

Expand Down

0 comments on commit d433347

Please sign in to comment.