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
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx
index 1685b33..32be862 100644
--- a/common/rfb/VNCServerST.cxx
+++ b/common/rfb/VNCServerST.cxx
@@ -171,6 +171,9 @@
 {
   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());