| Index: trunk/src/sync/tools/testserver/xmppserver.py
|
| ===================================================================
|
| --- trunk/src/sync/tools/testserver/xmppserver.py (revision 208346)
|
| +++ trunk/src/sync/tools/testserver/xmppserver.py (working copy)
|
| @@ -575,14 +575,6 @@
|
| def SetAuthenticated(self, auth_valid):
|
| self._authenticated = auth_valid
|
|
|
| - # We check authentication only when establishing new connections. We close
|
| - # all existing connections here to make sure previously connected clients
|
| - # pick up on the change. It's a hack, but it works well enough for our
|
| - # purposes.
|
| - if not self._authenticated:
|
| - for connection in self._handshake_done_connections:
|
| - connection.close()
|
| -
|
| def GetAuthenticated(self):
|
| return self._authenticated
|
|
|
|
|