aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/reverseproxy/hosts.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/reverseproxy/hosts.go')
-rw-r--r--modules/caddyhttp/reverseproxy/hosts.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/caddyhttp/reverseproxy/hosts.go b/modules/caddyhttp/reverseproxy/hosts.go
index be1146ac9..0a676e431 100644
--- a/modules/caddyhttp/reverseproxy/hosts.go
+++ b/modules/caddyhttp/reverseproxy/hosts.go
@@ -57,10 +57,11 @@ type Upstream struct {
// HeaderAffinity string
// IPAffinity string
- activeHealthCheckPort int
- healthCheckPolicy *PassiveHealthChecks
- cb CircuitBreaker
- unhealthy int32 // accessed atomically; status from active health checker
+ activeHealthCheckPort int
+ activeHealthCheckUpstream string
+ healthCheckPolicy *PassiveHealthChecks
+ cb CircuitBreaker
+ unhealthy int32 // accessed atomically; status from active health checker
}
// (pointer receiver necessary to avoid a race condition, since