Limit the time passed in transport check loop
authorDavid Fort <contact@hardening-consulting.com>
Tue, 3 May 2016 15:24:07 +0000 (17:24 +0200)
committerDavid Fort <contact@hardening-consulting.com>
Fri, 14 Oct 2016 13:12:48 +0000 (15:12 +0200)
commit71fd5cc1485ea1affd45c31e35ca8ae81b2d7097
tree4ebaabdfb1b9f8bb2a33f8e320ec1bfd52cedbf7
parent9adc13297bbe2cce8101fa8af3627f74c3f4a2c7
Limit the time passed in transport check loop

This patch make it possible to limit the time that is passed when we call
XXX_check_fds functions. This should smooth the treatment between handling inputs
and handling incoming bitmap updates.
The default maximum time is set to 100 ms.
include/freerdp/peer.h
include/freerdp/settings.h
libfreerdp/core/peer.c
libfreerdp/core/settings.c
libfreerdp/core/transport.c
libfreerdp/core/transport.h