- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for errDeadlineExceeded (0.33 sec)
-
src/net/dnsclient_unix_test.go
switch s { case "[2001:4860:4860::8888]:53", "8.8.8.8:53": break default: time.Sleep(10 * time.Millisecond) return dnsmessage.Message{}, os.ErrDeadlineExceeded } r := dnsmessage.Message{ Header: dnsmessage.Header{ ID: q.ID, Response: true, }, Questions: q.Questions, } for _, question := range q.Questions {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
src/os/os_test.go
} } // isDeadlineExceeded reports whether err is or wraps ErrDeadlineExceeded. // We also check that the error has a Timeout method that returns true. func isDeadlineExceeded(err error) bool { if !IsTimeout(err) { return false } if !errors.Is(err, ErrDeadlineExceeded) { return false } return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
cmd/api-errors.go
if err == nil { return ErrNone } // Errors that are generated by net.Conn and any context errors must be handled here. if errors.Is(err, os.ErrDeadlineExceeded) || errors.Is(err, context.DeadlineExceeded) { return ErrRequestTimedout } // Only return ErrClientDisconnected if the provided context is actually canceled.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (1)