diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-10-25 15:18:53 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-10-25 15:18:53 +0000 |
commit | 2d61deb8b96eed6c92e5d20019aafc07565baea2 (patch) | |
tree | 7f0d1fba4ef1a3b6f7b65765b464f1c15bf0401f /common | |
parent | 4ce51ffc4ec5fb060855dbe17579cbb3d9228e61 (diff) | |
download | tigervnc-2d61deb8b96eed6c92e5d20019aafc07565baea2.tar.gz tigervnc-2d61deb8b96eed6c92e5d20019aafc07565baea2.zip |
Make sure RFB timers are actually respected by the server implementations.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4736 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/VNCServerST.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx index 1685b33c..32be8625 100644 --- a/common/rfb/VNCServerST.cxx +++ b/common/rfb/VNCServerST.cxx @@ -171,6 +171,9 @@ int VNCServerST::checkTimeouts() { int timeout = 0; std::list<VNCSConnectionST*>::iterator ci, ci_next; + + soonestTimeout(&timeout, Timer::checkTimeouts()); + for (ci=clients.begin();ci!=clients.end();ci=ci_next) { ci_next = ci; ci_next++; soonestTimeout(&timeout, (*ci)->checkIdleTimeout()); |