Matthew Holt
95ed603de7
Improve godocs all around
These will be used in the new automated documentation system
5 years ago
Matthew Holt
b07f6958ac
Use "IsUnixNetwork" function instead of repeating the logic
5 years ago
Mohammed Al Sahaf
93bc1b72e3
core: Use port ranges to avoid OOM with bad inputs ( #2859 )
* fix OOM issue caught by fuzzing
* use ParsedAddress as the struct name for the result of ParseNetworkAddress
* simplify code using the ParsedAddress type
* minor cleanups
5 years ago
Matthew Holt
dccba71276
reverse_proxy: Structured logs
5 years ago
Matthew Holt
1e31be8de0
reverse_proxy: Allow dynamic backends ( closes #990 and #1539 )
This PR enables the use of placeholders in an upstream's Dial address.
A Dial address must represent precisely one socket after replacements.
See also #998 and #1639 .
5 years ago
Matthew Holt
44cb804b9e
reverse_proxy: Configurable request headers on active health checks
See https://caddy.community/t/health-check-user-agent/6309
5 years ago
Matthew Holt
e73b117332
reverse_proxy: Ability to mutate headers; set upstream placeholders
5 years ago
Matthew Holt
0830fbad03
Reconcile upstream dial addresses and request host/URL information
My goodness that was complicated
Blessed be request.Context
Sort of
5 years ago
Matthew Holt
acb8f0e0c2
Integrate circuit breaker modules with reverse proxy
5 years ago
Matthew Holt
652460e03e
Some cleanup and godoc
5 years ago
Matthew Holt
ccfb12347b
reverse_proxy: Implement active health checks
5 years ago