Unverified Commit 90281644 authored by Jehonathan Thomas's avatar Jehonathan Thomas Committed by GitHub

Merge pull request #561 from StephaneGraziano/master

Disable Nagle algorithm (really better network performances)
parents bd28898a 628fc06c
...@@ -271,6 +271,7 @@ namespace Titanium.Web.Proxy.Network.Tcp ...@@ -271,6 +271,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
{ {
tcpClient = new TcpClient(upStreamEndPoint) tcpClient = new TcpClient(upStreamEndPoint)
{ {
NoDelay = true,
ReceiveTimeout = proxyServer.ConnectionTimeOutSeconds * 1000, ReceiveTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
SendTimeout = proxyServer.ConnectionTimeOutSeconds * 1000, SendTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
SendBufferSize = proxyServer.BufferSize, SendBufferSize = proxyServer.BufferSize,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment