mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-30 23:53:48 +03:00
9864b138fb
In v2.5.0, upstream health was fixed such that whether an upstream is considered healthy or not is mostly up to each individual handler's config. Since "healthy" is an opinion, it is not a global value. I unintentionally left in the "healthy" field in the API endpoint for checking upstreams, and it is now misleading (see #4792). However, num_requests and fails remains, so health can be determined by the API client, rather than having it be opaquely (and unhelpfully) determined for the client. If we do restore this value later on, it'd need to be replicated once per reverse_proxy handler according to their individual configs. |
||
---|---|---|
.. | ||
fastcgi | ||
forwardauth | ||
addresses.go | ||
admin.go | ||
ascii.go | ||
ascii_test.go | ||
caddyfile.go | ||
command.go | ||
copyresponse.go | ||
healthchecks.go | ||
hosts.go | ||
httptransport.go | ||
reverseproxy.go | ||
selectionpolicies.go | ||
selectionpolicies_test.go | ||
streaming.go | ||
streaming_test.go | ||
upstreams.go |