Commit 1015cd81 authored by Stéphane Graziano's avatar Stéphane Graziano

Don't change the Socket SendTimeout or ReceiveTimeout (65535 by default) on...

Don't change the Socket SendTimeout or ReceiveTimeout (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
NoDelay = proxyServer.NoDelay,
ReceiveTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
SendTimeout = proxyServer.ConnectionTimeOutSeconds * 1000,
SendBufferSize = proxyServer.BufferSize,
ReceiveBufferSize = proxyServer.BufferSize,
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