summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-12-21 19:06:11 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-03 17:46:47 +0200
commitfe02804983422ce50d65867f311117907caa01b7 (patch)
tree24ede26972c0f062cd777fb2bdf64f221af6e602 /server
parent8aa4ea3662a17d9d7b6c25d5b055eae298e9c62a (diff)
downloadspice-fe02804983422ce50d65867f311117907caa01b7.tar.gz
spice-fe02804983422ce50d65867f311117907caa01b7.tar.xz
spice-fe02804983422ce50d65867f311117907caa01b7.zip
spice: sever: increase client timeout
Increase client timeout in order to prevent unnecessary disconnecting of client while the connection is over WAN. Tested by changing WinXP resolution (with desktop background) while connecting over WAN (1.5Mbit 150Kbit)
Diffstat (limited to 'server')
-rw-r--r--server/red_worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index ca4804f7..1a0deb4f 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -62,10 +62,10 @@
#define CMD_RING_POLL_TIMEOUT 10 //milli
#define CMD_RING_POLL_RETRIES 200
-#define DETACH_TIMEOUT 4000000000 //nano
+#define DETACH_TIMEOUT 15000000000ULL //nano
#define DETACH_SLEEP_DURATION 10000 //micro
-#define DISPLAY_CLIENT_TIMEOUT 4000000000 //nano
+#define DISPLAY_CLIENT_TIMEOUT 15000000000ULL //nano
#define DISPLAY_CLIENT_RETRY_INTERVAL 10000 //micro
#define DISPLAY_MAX_SUB_MESSAGES 10