Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1625)

Unified Diff: remoting/protocol/connection_to_client.cc

Issue 205583011: [Draft] Fix canceling pin prompt causes host overload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Unittests and also reject connections upon authenticating Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/connection_to_client.cc
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc
index dd32452ef9acebf945a0fbac925c3d8fd729aa22..a6d31434ab57589cd01a5d9c44b7fc08d48711c2 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -112,7 +112,9 @@ void ConnectionToClient::OnSessionStateChange(Session::State state) {
case Session::CONNECTED:
// Don't care about these events.
break;
-
+ case Session::AUTHENTICATING:
+ handler_->OnConnectionAuthenticating(this);
+ break;
case Session::AUTHENTICATED:
// Initialize channels.
control_dispatcher_.reset(new HostControlDispatcher());

Powered by Google App Engine
This is Rietveld 408576698