MCPcopy Create free account
hub / github.com/coder/coder / Error

Method Error

enterprise/aibridgeproxyd/aibridgeproxyd.go:74–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (e *blockedIPError) Error() string {
75 return fmt.Sprintf("connection to %s (%s) blocked: destination is in a private/reserved IP range", e.host, e.ip)
76}
77
78// blockedIPRanges defines private, reserved, and special-purpose IP ranges
79// that are blocked by default to prevent connections to internal networks.

Callers 13

RecordUsageMethod · 0.45
NewFunction · 0.45
portMiddlewareMethod · 0.45
handleRequestMethod · 0.45
handleResponseMethod · 0.45
readErrorBodyForLogMethod · 0.45
serveCACertMethod · 0.45
TestNewFunction · 0.45
TestProxy_PortValidationFunction · 0.45
TestUpstreamProxyFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestNewFunction · 0.36
TestProxy_PortValidationFunction · 0.36
TestUpstreamProxyFunction · 0.36