From 1911de96bea8c30293bc192e22940646f9f5a9d2 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 27 Aug 2020 22:50:11 +0300 Subject: add errors description --- service/http/errors_windows.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'service/http/errors_windows.go') 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 +} -- cgit v1.2.3