MCPcopy Create free account
hub / github.com/zalando/skipper / DialError

Method DialError

proxy/proxy.go:534–536  ·  view source on GitHub ↗

DialError returns true if the error was caused while dialing TCP or TLS connections, before HTTP data was sent. It is safe to retry a call, if this returns true.

()

Source from the content-addressed store, hash-verified

532// TLS connections, before HTTP data was sent. It is safe to retry
533// a call, if this returns true.
534func (e *proxyError) DialError() bool {
535 return e.dialingFailed
536}
537
538func copyHeader(to, from http.Header) {
539 for k, v := range from {

Callers 2

ErrorMethod · 0.95
retryableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected