go-aws-dns/vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error_othe...

12 lines
171 B
Go
Raw Normal View History

2018-11-16 15:52:12 +00:00
// +build appengine plan9
package request
import (
"strings"
)
func isErrConnectionReset(err error) bool {
return strings.Contains(err.Error(), "connection reset")
}