GUAC-1164: Reset request throttle after reconnect completed (prevent excessive reconnecting due to lengthy connects).
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/de78a6ef Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/de78a6ef Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/de78a6ef Branch: refs/heads/master Commit: de78a6efedb445bdc07867377c220c46554b7d90 Parents: 8d14118 Author: Michael Jumper <[email protected]> Authored: Wed Mar 16 14:56:14 2016 -0700 Committer: Michael Jumper <[email protected]> Committed: Wed Mar 16 14:56:14 2016 -0700 ---------------------------------------------------------------------- src/protocols/rdp/rdp_disp.c | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/de78a6ef/src/protocols/rdp/rdp_disp.c ---------------------------------------------------------------------- diff --git a/src/protocols/rdp/rdp_disp.c b/src/protocols/rdp/rdp_disp.c index 973c301..96c149b 100644 --- a/src/protocols/rdp/rdp_disp.c +++ b/src/protocols/rdp/rdp_disp.c @@ -209,5 +209,6 @@ int guac_rdp_disp_reconnect_needed(guac_rdp_disp* disp) { void guac_rdp_disp_reconnect_complete(guac_rdp_disp* disp) { disp->reconnect_needed = 0; + disp->last_request = guac_timestamp_current(); }
