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

Unified Diff: remoting/protocol/validating_authenticator.cc

Issue 2724223003: Disconnect all users if too many connection requests are received for It2Me (Closed)
Patch Set: Pre-review cleanup Created 3 years, 10 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/validating_authenticator.cc
diff --git a/remoting/protocol/validating_authenticator.cc b/remoting/protocol/validating_authenticator.cc
index ee622be44d496be8e0f880fbaf371d543eb24eac..5686c6dacdb24e52d8b49f174a4214e0a5213c04 100644
--- a/remoting/protocol/validating_authenticator.cc
+++ b/remoting/protocol/validating_authenticator.cc
@@ -109,6 +109,10 @@ void ValidatingAuthenticator::OnValidateComplete(
rejection_reason_ = Authenticator::INVALID_ACCOUNT;
break;
+ case Result::ERROR_TOO_MANY_CONNECTIONS:
+ rejection_reason_ = Authenticator::TOO_MANY_CONNECTIONS;
+ break;
+
case Result::ERROR_REJECTED_BY_USER:
rejection_reason_ = Authenticator::REJECTED_BY_USER;
break;
« remoting/host/it2me/it2me_host.cc ('K') | « remoting/protocol/validating_authenticator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698