caddy/modules/caddyhttp/reverseproxy
Daniel Santos 53aa60afff
reverseproxy: Handle "operation was canceled" errors (#3816)
* fix(caddy): Avoid "operation was canceled" errors

- Also add error handling for StatusGatewayTimeout

* revert(caddy): Revert 504 handling

- This will potentially break load balancing and health checks

* Handle client cancellation as different error

Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
2020-11-25 10:54:23 -07:00
..
fastcgi ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
caddyfile.go reverseproxy: Add Caddyfile scheme shorthand for h2c (#3629) 2020-11-23 12:18:26 -07:00
command.go chore: Fix typo in reverse-proxy subcommand help message (#3513) 2020-06-22 00:40:54 -04:00
healthchecks.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
hosts.go reverseproxy: Fix dial placeholders, SRV, active health checks (#3780) 2020-10-13 10:35:20 -06:00
httptransport.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
reverseproxy.go reverseproxy: Handle "operation was canceled" errors (#3816) 2020-11-25 10:54:23 -07:00
selectionpolicies.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
selectionpolicies_test.go reverseproxy: Implement cookie hash selection policy (#3809) 2020-11-20 12:39:26 -07:00
streaming.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
streaming_test.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00