From 69164b3cfac0fa8fad19f40c85de08855d917cc6 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 22 Sep 2018 17:10:52 +0530 Subject: [PATCH] DnsServer: tcp timeout values reduced. --- DnsServerCore/DnsServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DnsServerCore/DnsServer.cs b/DnsServerCore/DnsServer.cs index eb461d9c..57bdebd1 100644 --- a/DnsServerCore/DnsServer.cs +++ b/DnsServerCore/DnsServer.cs @@ -46,8 +46,8 @@ namespace DnsServerCore #region variables const int UDP_LISTENER_THREAD_COUNT = 3; - const int TCP_SOCKET_SEND_TIMEOUT = 30000; - const int TCP_SOCKET_RECV_TIMEOUT = 60000; + const int TCP_SOCKET_SEND_TIMEOUT = 10000; + const int TCP_SOCKET_RECV_TIMEOUT = 10000; readonly IPEndPoint _localEP;