Files
crypto/ssh
Eric Garrido 83f1503f77 crypto/ssh: Handle error in dial to avoid a goroutine leak
If the channel open request failed, a nil channel would be provided to
DiscardRequests, which would never return.

We return the error early to avoid this goroutine leak.

Change-Id: I4c0e0a7698f7623c042f2a04941b8c50e8031d33
Reviewed-on: https://go-review.googlesource.com/13390
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-08-08 08:51:02 +00:00
..
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2015-05-14 18:39:32 +00:00
2015-07-06 16:48:17 +00:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2015-05-14 18:39:32 +00:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00