Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect end-of-stream in TransportImpl#init
OpenSSH will drop connections based on the value of MaxStartups when there are too many unauthenticated connection. When this happens, reads on the client socket return -1, which was previously inserted into the identification buffer, leading to the error in hierynomus#118.
- Loading branch information