carletes / mock-ssh-server

Python mock SSH server for testing purposes
MIT License
56 stars 32 forks source link

Correctly handle server shutdown #14

Closed aragaer closed 4 years ago

aragaer commented 4 years ago

Currently when server is shut down its socket is closed which results in (expected) exception on accept() system call. This commit allows the loop to end correctly when this happens.

carletes commented 4 years ago

Thanks, @aragaer! Merging now, will release to PyPI shortly.

carletes commented 4 years ago

In PyPI now: https://pypi.org/project/mock-ssh-server/

@aragaer: I've just added you to the list of collaborators to this project. For future pull requests that you may open, feel free to merge if you do not hear from me (or from any other collaborator) within a week.