Commit 986e711c authored by Ralf's avatar Ralf
Browse files

fix: don't close client sockets too early

parent 98411bd4
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment