agebrock / reverse-tunnel-ssh

Easy reverse tunnel
MIT License
42 stars 12 forks source link

'ready' event is not really ready #3

Closed ckt1010 closed 7 years ago

ckt1010 commented 7 years ago

Hi, I found 'ready' event is emit as soon as it connect to reverse server, but forward and something else need to do after that. So if I connect to this client after it receive 'ready' event too fast, it will receive ECONNREFUSED. I think maybe you should add a new event or some better way to fix Thanks a lot!

agebrock commented 7 years ago

Will be fixed with the current release and the "forward-in" event.

agebrock commented 7 years ago

Let me know if that release fixed your problem.

Thx