Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-06 | reverseproxy: Support performing pre-check requests (#4739) | Francis Lavoie | |
2022-03-06 | reverseproxy: Dynamic upstreams (with SRV and A/AAAA support) (#4470) | Matt Holt | |
* reverseproxy: Begin refactor to enable dynamic upstreams Streamed here: https://www.youtube.com/watch?v=hj7yzXb11jU * Implement SRV and A/AAA upstream sources Also get upstreams at every retry loop iteration instead of just once before the loop. See #4442. * Minor tweaks from review * Limit size of upstreams caches * Add doc notes deprecating LookupSRV * Provision dynamic upstreams Still WIP, preparing to preserve health checker functionality * Rejigger health checks Move active health check results into handler-specific Upstreams. Improve documentation regarding health checks and upstreams. * Deprecation notice * Add Caddyfile support, use `caddy.Duration` * Interface guards * Implement custom resolvers, add resolvers to http transport Caddyfile * SRV: fix Caddyfile `name` inline arg, remove proto condition * Use pointer receiver * Add debug logs Co-authored-by: Francis Lavoie <lavofr@gmail.com> | |||
2021-11-24 | reverseproxy: Adjust defaults, document defaults (#4436) | Francis Lavoie | |
* reverseproxy: Adjust defaults, document defaults Related to some of the issues in https://github.com/caddyserver/caddy/issues/4245, a complaint about the proxy transport defaults not being properly documented in https://caddy.community/t/default-values-for-directives/14254/6. - Dug into the stdlib to find the actual defaults for some of the timeouts and buffer limits, documenting them in godoc so the JSON docs get them next release. - Moved the keep-alive and dial-timeout defaults from `reverseproxy.go` to `httptransport.go`. It doesn't make sense to set defaults in the proxy, because then any time the transport is configured with non-defaults, the keep-alive and dial-timeout defaults are lost! - Sped up the dial timeout from 10s to 3s, in practice it rarely makes sense to wait a whole 10s for dialing. A shorter timeout helps a lot with the load balancer retries, so using something lower helps with user experience. * reverseproxy: Make keepalive interval configurable via Caddyfile * fastcgi: DialTimeout default for fastcgi transport too | |||
2021-06-15 | reverseproxy: Adjust test related to #4201 | Matthew Holt | |
Commit 7c68809f4e13a7ac7c9e216a69410e7c1966c1df | |||
2020-11-02 | reverseproxy: Wire up some http transport options in Caddyfile (#3843) | Francis Lavoie | |
2020-10-30 | reverseproxy: Add max_idle_conns_per_host; fix godocs (#3829) | Francis Lavoie | |