caddy/modules/caddyhttp/reverseproxy
Matthew Holt 9864b138fb
reverseproxy: api: Remove misleading 'healthy' value
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.
2022-06-02 12:32:23 -06:00
..
fastcgi reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
forwardauth reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
addresses.go reverseproxy: Refactor dial address parsing, augment command parsing (#4616) 2022-03-05 16:34:19 -07:00
admin.go reverseproxy: api: Remove misleading 'healthy' value 2022-06-02 12:32:23 -06:00
ascii.go reverseproxy: Sync up handleUpgradeResponse with stdlib (#4664) 2022-04-11 12:49:56 -06:00
ascii_test.go reverseproxy: Sync up handleUpgradeResponse with stdlib (#4664) 2022-04-11 12:49:56 -06:00
caddyfile.go reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
command.go reverseproxy: Add --internal-certs CLI flag #3589 (#4817) 2022-05-29 14:33:01 -06:00
copyresponse.go chore: Comment fixes (#4634) 2022-03-13 01:38:11 -05:00
healthchecks.go reverseproxy: Dynamic upstreams (with SRV and A/AAAA support) (#4470) 2022-03-06 17:43:39 -07:00
hosts.go reverseproxy: Dynamic upstreams (with SRV and A/AAAA support) (#4470) 2022-03-06 17:43:39 -07:00
httptransport.go reverseproxy: Support http1.1>h2c (close #4777) (#4778) 2022-05-10 17:25:58 -04:00
reverseproxy.go reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
selectionpolicies.go reverseproxy: Improve hashing LB policies with HRW (#4724) 2022-04-27 10:39:22 -06:00
selectionpolicies_test.go reverseproxy: Improve hashing LB policies with HRW (#4724) 2022-04-27 10:39:22 -06:00
streaming.go reverseproxy: Sync up handleUpgradeResponse with stdlib (#4664) 2022-04-11 12:49:56 -06:00
streaming_test.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
upstreams.go reverseproxy: Permit resolver addresses to not specify a port (#4760) 2022-05-04 12:40:39 -06:00