mirror of
https://github.com/moby/buildkit.git
synced 2026-11-06 05:16:45 +00:00
Recognize Winsock WSAECONNRESET errors when classifying transient network failures, while retaining ECONNRESET on other platforms. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
6 lines
89 B
Go
6 lines
89 B
Go
package retryhandler
|
|
|
|
import "syscall"
|
|
|
|
const errConnectionReset = syscall.WSAECONNRESET
|