types: fix, remove the read timeout override

This commit is contained in:
c9s 2022-01-11 01:20:09 +08:00
parent 70dec09f26
commit b24d944796

View File

@ -342,8 +342,6 @@ func (s *StandardStream) Dial(ctx context.Context, args ...string) (*websocket.C
return nil, err
}
readTimeout := 1 * time.Minute
// use the default ping handler
// The websocket server will send a ping frame every 3 minutes.
// If the websocket server does not receive a pong frame back from the connection within a 10 minutes period,