DescriptionUse RejectAuthenticatingClient instead of DisconnectAllClients to reject incoming clients on curtain mode activation errors.
If we DisconnectAllClients from within the CurtainingHostObserver's OnClientAuthenticated callback, it will ultimately cause OnClientDisconnected callbacks for all HostStatusObservers to run *immediately*, before the OnClientAuthenticated for the next observer in the queue are called. This can cause the OnClientDisconnected callback for that observer to run *before* its OnClientAuthenticated callback.
For example, if HostUserInterface is enabled, a remote client tries to connect to the console, and curtaining fails, this will cause the local disconnect window to stay up after the client is rejected (before the Hide() call for the disconnection runs before Show()).
BUG=156254
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162376
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|