From 48f6c27d24430127d6a4b24f21561179488ec57c Mon Sep 17 00:00:00 2001 From: hvlad Date: Thu, 13 Sep 2007 13:24:59 +0000 Subject: [PATCH] Reduce XNET read\write wait timeout. It allows faster detect failures on the other part of connection --- src/remote/xnet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/xnet.h b/src/remote/xnet.h index 664a2dd7dc..a5c8dc952c 100644 --- a/src/remote/xnet.h +++ b/src/remote/xnet.h @@ -41,7 +41,7 @@ const DWORD XNET_CONNECT_TIMEOUT = 10000; // Receive wait timeout (ms) -const DWORD XNET_RECV_WAIT_TIMEOUT = 10000; +const DWORD XNET_RECV_WAIT_TIMEOUT = 500; // Send wait timeout (ms) const DWORD XNET_SEND_WAIT_TIMEOUT = XNET_RECV_WAIT_TIMEOUT;