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

Unified Diff: sync/tools/testserver/xmppserver.py

Issue 15580002: Make use of InvalidationService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More review fixes Created 7 years, 7 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
« sync/tools/sync_client.cc ('K') | « sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/testserver/xmppserver.py
diff --git a/sync/tools/testserver/xmppserver.py b/sync/tools/testserver/xmppserver.py
index f9599c0cd090245c93e6cab61d0f477e9cd2eb8a..cdc7fc6b863ee8bce893e9bb20d9f08a1e8f52c9 100644
--- a/sync/tools/testserver/xmppserver.py
+++ b/sync/tools/testserver/xmppserver.py
@@ -573,6 +573,9 @@ class XmppServer(asyncore.dispatcher):
def SetAuthenticated(self, auth_valid):
self._authenticated = auth_valid
+ if not self._authenticated:
akalin 2013/05/24 22:58:46 why did this become necessary?
rlarocque 2013/05/29 00:37:55 This was written a while ago, so I don't remember
akalin 2013/06/04 19:23:54 Can you add a comment to this effect in this file?
+ for connection in self._handshake_done_connections:
+ connection.close()
def GetAuthenticated(self):
return self._authenticated
« sync/tools/sync_client.cc ('K') | « sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698