golang/go

syscall: Windows Errno.Temporary and Errno.Timeout are incomplete

Open

#15,637 opened on May 11, 2016

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
ExpertNeededNeedsInvestigationOS-Windowsearly-in-cyclehelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

What version of Go are you using (go version)? go version go1.6 windows/amd64

I read src/syscall/syscall_windows.go and find Errno.Temporary() just check EINTR, EMFILE and Errno.Timeout, but the src/syscall/syscall_unix.go, Errno.Temporary() additional check ECONNRESET and ECONNABORTED.

so why different between windows and linux?

Sorry my poor English.

Contributor guide