Hello there,
I have am testing the latest beta for resolving all the hugs i have on a tunnel.
When I enable port forwarding on a port on the exit of the application i am stopping all ports and disconnects from the server ! The code below shows what i am talking about:
In previous version of the SSH.NET the same command needed 2 secs to stop !
Am i doing something wrong ?
I have am testing the latest beta for resolving all the hugs i have on a tunnel.
When I enable port forwarding on a port on the exit of the application i am stopping all ports and disconnects from the server ! The code below shows what i am talking about:
For I As Integer = 0 To mvarSSH.ForwardedPorts.Count - 1
If mvarSSH.ForwardedPorts(I).IsStarted Then
mvarSSH.ForwardedPorts(I).Stop()
End If
mvarSSH.RemoveForwardedPort(mvarSSH.ForwardedPorts(I))
Next
If Not mvarSSH Is Nothing Then
If mvarSSH.IsConnected Then
mvarSSH.Disconnect()
End If
End If
mvarSSH = Nothing
It stucks on the mvarSSH.ForwardedPorts(I).Stop() for over 1 minute and proceeds.. Why takes 1 minute to stop a port ?In previous version of the SSH.NET the same command needed 2 secs to stop !
Am i doing something wrong ?