Did some additions to the MSDP implementation. Added a first test for implementing MSDP commands, but it is not working yet.

This commit is contained in:
Griatch 2012-02-25 21:14:48 +01:00
parent 9935bff36e
commit a0a205c945
3 changed files with 78 additions and 4 deletions

View file

@ -221,7 +221,7 @@ class ServerSessionHandler(SessionHandler):
and see if any are dead.
"""
tcurr = time.time()
reason= _("Idle timeout exceeded, disconnecting."))
reason= _("Idle timeout exceeded, disconnecting.")2
for session in (session for session in self.sessions.values()
if session.logged_in and IDLE_TIMEOUT > 0
and (tcurr - session.cmd_last) > IDLE_TIMEOUT):