summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2017-02-11 22:49:37 -0800
committerjsorg71 <jay.sorg@gmail.com>2017-02-22 20:57:33 -0800
commit815b9b8bb840ba02b0bf29e20264dbb96ceeba4a (patch)
tree9561b2e7c014fad04235b7b1a8ab0969be0a5303 /xrdp
parentfde04e802ca804f23e7802e38450910ba185a140 (diff)
downloadxrdp-proprietary-815b9b8bb840ba02b0bf29e20264dbb96ceeba4a.tar.gz
xrdp-proprietary-815b9b8bb840ba02b0bf29e20264dbb96ceeba4a.zip
frame ack change for slow client falling behind
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index b0a6ca5a..260dea54 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -2283,7 +2283,7 @@ xrdp_mm_check_wait_objs(struct xrdp_mm *self)
else
{
ex = self->wm->client_info->max_unacknowledged_frame_count;
- if (self->encoder->frame_id_client + ex >= self->encoder->frame_id_server)
+ if (self->encoder->frame_id_client + ex > self->encoder->frame_id_server)
{
if (self->encoder->frame_id_server > self->encoder->frame_id_server_sent)
{
@@ -2325,7 +2325,7 @@ xrdp_mm_frame_ack(struct xrdp_mm *self, int frame_id)
}
ex = self->wm->client_info->max_unacknowledged_frame_count;
/* make sure we won't have too many in-flight frames */
- if (self->encoder->frame_id_client + ex >= self->encoder->frame_id_server)
+ if (self->encoder->frame_id_client + ex > self->encoder->frame_id_server)
{
if (self->encoder->frame_id_server > self->encoder->frame_id_server_sent)
{