Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add timeout to WaitForInputIdle in Connection.Protocol.PuttyBase.Conn…

…ect().
  • Loading branch information...
commit 1f776fb9bf8366c133e619903dffaef4b7a70f89 1 parent f90eb94
@rmcardle authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb
View
2  mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb
@@ -156,7 +156,7 @@ Namespace Connection
AddHandler PuttyProcess.Exited, AddressOf ProcessExited
PuttyProcess.Start()
- PuttyProcess.WaitForInputIdle()
+ PuttyProcess.WaitForInputIdle(My.Settings.MaxPuttyWaitTime * 1000)
Dim startTicks As Integer = Environment.TickCount
While PuttyHandle.ToInt32 = 0 And Environment.TickCount < startTicks + (My.Settings.MaxPuttyWaitTime * 1000)
Please sign in to comment.
Something went wrong with that request. Please try again.