summaryrefslogtreecommitdiff
path: root/service/http/errors_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/errors_windows.go')
-rw-r--r--service/http/errors_windows.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/service/http/errors_windows.go b/service/http/errors_windows.go
index 06c2524d..3d0ba04c 100644
--- a/service/http/errors_windows.go
+++ b/service/http/errors_windows.go
@@ -9,6 +9,9 @@ import (
"syscall"
)
+//Software caused connection abort.
+//An established connection was aborted by the software in your host computer,
+//possibly due to a data transmission time-out or protocol error.
var errEPIPE = errors.New("WSAECONNABORTED (10053) -> an established connection was aborted by peer")
// handleWriteError just check if error was caused by aborted connection on windows
@@ -21,4 +24,4 @@ func handleWriteError(err error) error {
}
}
return err
-} \ No newline at end of file
+}