Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 9028164

Browse files
Merge pull request #561 from StephaneGraziano/master
Disable Nagle algorithm (really better network performances)
2 parents bd28898 + 628fc06 commit 9028164

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Titanium.Web.Proxy/Network/Tcp/TcpConnectionFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ private async Task<TcpServerConnection> createServerConnection(string remoteHost
271271
{
272272
tcpClient = new TcpClient(upStreamEndPoint)
273273
{
274+
NoDelay = true,
274275
ReceiveTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
275276
SendTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
276277
SendBufferSize = proxyServer.BufferSize,

0 commit comments

Comments
 (0)