From 986e711c18a3960baa5dda8b9919372e6a387909 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 19 Feb 2014 23:14:38 +0100 Subject: [PATCH] fix: don't close client sockets too early --- tysock.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.30.2