implemented simple ssh dual control
This commit is contained in:
parent
690613cab8
commit
60012be942
12 changed files with 446 additions and 20 deletions
|
|
@ -264,7 +264,9 @@ func (c *Client) FollowRedirectLoop(r *http.Request, v any, delay time.Duration)
|
|||
rdr, ok := err.(Redirect)
|
||||
if err != nil && !ok {
|
||||
if errors.Is(err, types.ErrISE) ||
|
||||
errors.Is(err, types.ErrKeyNotFound) {
|
||||
errors.Is(err, types.ErrKeyNotFound) ||
|
||||
errors.Is(err, types.ErrAccessReqNotFound) ||
|
||||
errors.Is(err, types.ErrAccessRequestRejected) {
|
||||
return
|
||||
}
|
||||
if errors.Is(err, types.ErrReqNotFound) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue