DescriptionAdding retry logic for applying desktop resolution changes to RDP session.
This change adds retry logic for applying resolution changes when the session
is first started. The RDP API we rely on can return E_UNEXPECTED for a few
seconds after the user logs in. This is not documented on MSDN but has been
experienced by other users of the API. This change adds a timer which is
used to retry the resolution update until it succeeds or reaches the max
number of attempts. Once the user is logged on, we do not use the retry
logic as calls after that point are expected to succeed.
BUG=392220
Committed: https://crrev.com/b901d5b1a44d24ffc592dd8293fd86ef984f87f6
Cr-Commit-Position: refs/heads/master@{#441382}
Patch Set 1 #Patch Set 2 : Fixing some comments #Patch Set 3 : Merging with ToT #
Total comments: 6
Patch Set 4 : Addressing CR feedback #Messages
Total messages: 21 (15 generated)
|