Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Checking if connection ended before ready#81

Open
yuvalshkolar wants to merge 3 commits intospmjs:masterfrom
yuvalshkolar:master
Open

Checking if connection ended before ready#81
yuvalshkolar wants to merge 3 commits intospmjs:masterfrom
yuvalshkolar:master

Conversation

@yuvalshkolar
Copy link

When using the module against BitVise SSH Server,
In some scenarios the connection was refused but error wasn't sent,
But the connection was ready, and then just suddenly ended.
In that case, the callback under "ready" will be never called and the code is "hanged".
Now, if the connection was ended before being ready, the callback will be called.

@deanshub
Copy link

deanshub commented Dec 4, 2016

👍 I need this too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants