Commit 311875c7 authored by Stéphane Graziano's avatar Stéphane Graziano

Don't change the Socket SendBufferSize or ReceiveBufferSize (65535 by default)...

Don't change the Socket SendBufferSize or ReceiveBufferSize (65535 by default) on serverConnection, it's really faster to send/receive data with the default 64k buffer.
parent 17021238
...@@ -274,8 +274,6 @@ namespace Titanium.Web.Proxy.Network.Tcp ...@@ -274,8 +274,6 @@ namespace Titanium.Web.Proxy.Network.Tcp
NoDelay = proxyServer.NoDelay, NoDelay = proxyServer.NoDelay,
ReceiveTimeout = proxyServer.ConnectionTimeOutSeconds * 1000, ReceiveTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
SendTimeout = proxyServer.ConnectionTimeOutSeconds * 1000, SendTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
SendBufferSize = proxyServer.BufferSize,
ReceiveBufferSize = proxyServer.BufferSize,
LingerState = new LingerOption(true, proxyServer.TcpTimeWaitSeconds) LingerState = new LingerOption(true, proxyServer.TcpTimeWaitSeconds)
}; };
......
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