Skip to content

[v16] Fix client_idle_timeout enforcement for desktop sessions#56049

Merged
zmb3 merged 1 commit intobranch/v16from
zmb3/v16-backport-55693
Jun 25, 2025
Merged

[v16] Fix client_idle_timeout enforcement for desktop sessions#56049
zmb3 merged 1 commit intobranch/v16from
zmb3/v16-backport-55693

Conversation

@zmb3
Copy link
Copy Markdown
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 implementation, 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 kiosion June 25, 2025 07:46
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/v16-backport-55693 branch from 0bf7b83 to ded6040 Compare June 25, 2025 14:47
@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/v16 with commit dc1ef54 Jun 25, 2025
42 checks passed
@zmb3 zmb3 deleted the zmb3/v16-backport-55693 branch June 25, 2025 16:01
@fheinecke fheinecke mentioned this pull request Jul 2, 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