From 8c0dcbbd4ff7d02ad20b9982bfb82750c5480410 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 11 Feb 2017 23:18:36 -0800 Subject: [PATCH] fix for frames in flight = 0 --- xrdp/xrdp_mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c index 260dea54..7fcb0120 100644 --- a/xrdp/xrdp_mm.c +++ b/xrdp/xrdp_mm.c @@ -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) {