Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputcooker doesnt handle when a connection is lost or terminated #16

Open
jafilson opened this issue May 29, 2015 · 0 comments
Open

Inputcooker doesnt handle when a connection is lost or terminated #16

jafilson opened this issue May 29, 2015 · 0 comments

Comments

@jafilson
Copy link

In: def inputcooker(self):
except (EOFError, socket.error):
pass

should become:
except (EOFError, socket.error):
self.session_end()

There needs to be some way to catch when a session is closed without using the 'exit' command, IE a timeout or just lost connection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant