From: Ralf Jung Date: Wed, 19 Feb 2014 22:14:38 +0000 (+0100) Subject: fix: don't close client sockets too early X-Git-Url: https://git.ralfj.de/saartuer.git/commitdiff_plain/986e711c18a3960baa5dda8b9919372e6a387909?ds=inline fix: don't close client sockets too early --- diff --git a/tysock.py b/tysock.py index b7cb1cc..2a5e193 100644 --- a/tysock.py +++ b/tysock.py @@ -72,6 +72,7 @@ class TySocket(): if data in self.CMDs: self._sm.callback(self.CMDs[data], self._answer(conn)) # _answer will be called, and it will close the connection + continue # make sure we break so we don't close it else: waynesend(conn, 'Command not found') except KeyboardInterrupt: