Browse Source

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
tags/v1.1.90
Pierre Ossman 12 years ago
parent
commit
2d61deb8b9
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      common/rfb/VNCServerST.cxx

+ 3
- 0
common/rfb/VNCServerST.cxx View File

@@ -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());

Loading…
Cancel
Save