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

Unified Diff: remoting/protocol/jingle_session.cc

Issue 2724223003: Disconnect all users if too many connection requests are received for It2Me (Closed)
Patch Set: Addressing CR Feedback Created 3 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
« no previous file with comments | « remoting/protocol/authenticator.h ('k') | remoting/protocol/validating_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.cc
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index 1b1343f72a5db2666d930fd0924c9202e558d8eb..b56b8a5bf514639d61d798e37b295d1454322b39 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -66,6 +66,8 @@ ErrorCode AuthRejectionReasonToErrorCode(
return INCOMPATIBLE_PROTOCOL;
case Authenticator::INVALID_ACCOUNT:
return INVALID_ACCOUNT;
+ case Authenticator::TOO_MANY_CONNECTIONS:
+ return SESSION_REJECTED;
case Authenticator::REJECTED_BY_USER:
return SESSION_REJECTED;
}
« no previous file with comments | « remoting/protocol/authenticator.h ('k') | remoting/protocol/validating_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698