Skip to content

[v15] Fix client_idle_timeout enforcement for desktop sessions #56052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

zmb3
Copy link
Collaborator

@zmb3 zmb3 commented Jun 24, 2025

We had been updating the client activity tracker any time a message was sent from the client (browser or Teleport Connect) to the remote host. This approach was fine for the original RDP implmentation, as all messages sent in this direction were for user input (keypresses, mouse movement, scroll wheel, etc), but it is insufficient with the current RemoteFX implementation as there are some messages sent by the remote Windows hosts which require client acknowledgements. These acknowledgements were mistakenly being counted as client activity.

Closes #55691
Backports #55693

Changelog: fixed an issue that could prevent Windows desktop sessions from terminating when the idle timeout was exceeded.

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from ryanclark June 25, 2025 09:44
We had been updating the client activity tracker any time a message
was sent from the client (browser or Teleport Connect) to the remote
host. This approach was fine for the original RDP implmentation, as
all messages sent in this direction were for user input (keypresses,
mouse movement, scroll wheel, etc), but it is insufficient with the
current RemoteFX implementation as there are some messages sent by
the remote Windows hosts which require client acknowledgements.
These acknowledgements were mistakenly being counted as client activity.

Closes #55691
@zmb3 zmb3 force-pushed the zmb3/v15-backport-55693 branch from 87bdd25 to 9b1cadd Compare June 25, 2025 14:48
@zmb3 zmb3 enabled auto-merge June 25, 2025 14:48
@zmb3 zmb3 added this pull request to the merge queue Jun 25, 2025
Merged via the queue into branch/v15 with commit 79cf770 Jun 25, 2025
38 checks passed
@zmb3 zmb3 deleted the zmb3/v15-backport-55693 branch June 25, 2025 15:26
@fheinecke fheinecke mentioned this pull request Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants