Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/crypto/ssh: leaks connections? #28613
What version of Go are you using (
thanks, I will cover this case.
but that does not explain the 64 open connections. I got only one error before the 64 connection limit was reached.
the error was:
2018/11/05 14:56:00 ssh run error: host: xxx command: xxx error: wait: remote command exited without exit status or exit signal
i will try with a
after the successful dial, to ensure that the connection is closed. But it seems this was done earlier somehow by the library itself.
i have checked, and the
So it seems there was a change recently that makes this call mandatory. (maybe the connection was previously closed during
my client was running nearly 2 month without reaching the 64 connection limit before.
thank for your answer and your time!
Could you please update the documentation about this, at least the example from Dial should contain imho the call to Close().