Skip to content

Commit

Permalink
NuGet v3.0.13, disable Nagle by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristn committed Aug 25, 2023
1 parent 562becb commit 7b3bc15
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/SuperSimpleTcp/SimpleTcp.xml

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

3 changes: 2 additions & 1 deletion src/SuperSimpleTcp/SimpleTcpClientSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class SimpleTcpClientSettings
#region Public-Members

/// <summary>
/// Nagle's algorithm.
/// Gets or sets a value that disables a delay when send or receive buffers are not full.
/// true if the delay is disabled; otherwise, false. The default value is false.
/// </summary>
Expand Down Expand Up @@ -156,7 +157,7 @@ public int ConnectionLostEvaluationIntervalMs

#region Private-Members

private bool _noDelay = false;
private bool _noDelay = true;
private int _streamBufferSize = 65536;
private int _connectTimeoutMs = 5000;
private int _readTimeoutMs = 1000;
Expand Down
3 changes: 2 additions & 1 deletion src/SuperSimpleTcp/SimpleTcpServerSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class SimpleTcpServerSettings
#region Public-Members

/// <summary>
/// Nagle's algorithm.
/// Gets or sets a value that disables a delay when send or receive buffers are not full.
/// true if the delay is disabled; otherwise, false. The default value is false.
/// </summary>
Expand Down Expand Up @@ -158,7 +159,7 @@ public List<string> BlockedIPs

#region Private-Members

private bool _noDelay = false;
private bool _noDelay = true;
private int _streamBufferSize = 65536;
private int _maxConnections = 4096;
private int _idleClientTimeoutMs = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/SuperSimpleTcp/SuperSimpleTcp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;netstandard2.1;net461;net48;net6.0;net7.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.0.12</Version>
<Version>3.0.13</Version>
<PackageReleaseNotes>Await fix, thank you @olifer</PackageReleaseNotes>
<Authors>Joel Christner</Authors>
<Description>Simple wrapper for TCP client and server in C# with SSL support</Description>
Expand Down

0 comments on commit 7b3bc15

Please sign in to comment.