caddy/modules/caddyhttp
Francis Lavoie b19946f6af
reverseproxy: Optimize base case for least_conn and random_choose policies ()
When only a single request has the least amount of requests, there's no need to compute a random number, because the modulo of 1 will always be 0 anyways.
2023-05-05 20:53:48 -06:00
..
caddyauth cmd: Expand cobra support, add short flags () 2023-02-24 16:09:12 -07:00
encode caddyhttp: Impl ResponseWriter.Unwrap(), prep for Go 1.20's ResponseController () 2023-04-26 19:44:01 -04:00
fileserver caddyhttp: Impl ResponseWriter.Unwrap(), prep for Go 1.20's ResponseController () 2023-04-26 19:44:01 -04:00
headers headers: Support deleting all headers as first op () 2023-03-27 21:05:18 +00:00
map map: Clarified how destination values should be formatted () 2022-10-18 18:14:53 -06:00
proxyprotocol proxyprotocol: Add PROXY protocol support to reverse_proxy, add HTTP listener wrapper () 2023-03-31 17:44:53 -04:00
push reverseproxy: Mask the WS close message when we're the client () 2022-11-14 09:38:02 -07:00
requestbody requestbody: Return HTTP 413 (fix ) 2022-03-11 12:34:55 -07:00
reverseproxy reverseproxy: Optimize base case for least_conn and random_choose policies () 2023-05-05 20:53:48 -06:00
rewrite reverseproxy: Mask the WS close message when we're the client () 2022-11-14 09:38:02 -07:00
standard proxyprotocol: Add PROXY protocol support to reverse_proxy, add HTTP listener wrapper () 2023-03-31 17:44:53 -04:00
templates fix some comments () 2023-04-25 09:54:42 -06:00
tracing logging: Add traceID field to access logs when tracing is active () 2023-04-27 02:46:41 +00:00
app.go caddyhttp: Serve http2 when listener wrapper doesn't return *tls.Conn () 2023-04-10 17:05:02 +00:00
autohttps.go caddytls: Eval replacer on automation policy subjects () 2023-03-27 21:16:22 +00:00
caddyhttp.go chore: Build with Go 1.20, keep minimum at 1.18 for now () 2023-02-06 11:29:20 -05:00
caddyhttp_test.go fileserver: Reject ADS and short name paths; trim trailing dots and spaces on Windows () 2022-10-18 21:55:25 -06:00
celmatcher.go fix some comments () 2023-04-25 09:54:42 -06:00
celmatcher_test.go Expose several Caddy HTTP Matchers to the CEL Matcher () 2022-06-22 18:53:46 -04:00
errors.go requestbody: Return HTTP 413 (fix ) 2022-03-11 12:34:55 -07:00
http2listener.go caddyhttp: Serve http2 when listener wrapper doesn't return *tls.Conn () 2023-04-10 17:05:02 +00:00
httpredirectlistener.go caddyhttp: Move HTTP redirect listener to an optional module () 2022-02-19 15:36:36 -07:00
ip_matchers.go caddyhttp: Determine real client IP if trusted proxies configured () 2023-03-27 20:22:59 +00:00
ip_range.go caddyhttp: Pluggable trusted proxy IP range sources () 2023-02-06 12:44:11 -07:00
logging.go logging: Add traceID field to access logs when tracing is active () 2023-04-27 02:46:41 +00:00
marshalers.go caddyhttp: Determine real client IP if trusted proxies configured () 2023-03-27 20:22:59 +00:00
matchers.go caddyhttp: Determine real client IP if trusted proxies configured () 2023-03-27 20:22:59 +00:00
matchers_test.go chore: Fix warning "range variable captured by func literal" () 2023-01-31 03:07:57 -05:00
metrics.go caddyhttp: Make metrics opt-in () 2022-09-16 13:32:49 -06:00
metrics_test.go move common metrics-related funcs to internal package 2022-01-25 15:07:17 -05:00
replacer.go caddyhttp: Add server-level trusted_proxies config () 2023-01-10 00:08:23 -05:00
replacer_test.go caddyhttp: Remote IP prefix placeholders 2022-09-30 13:29:33 -06:00
responsematchers.go reverseproxy: Mask the WS close message when we're the client () 2022-11-14 09:38:02 -07:00
responsematchers_test.go reverseproxy: Add handle_response blocks to reverse_proxy () () 2021-05-02 12:39:06 -06:00
responsewriter.go caddyhttp: Impl ResponseWriter.Unwrap(), prep for Go 1.20's ResponseController () 2023-04-26 19:44:01 -04:00
responsewriter_test.go caddyhttp: Impl ResponseWriter.Unwrap(), prep for Go 1.20's ResponseController () 2023-04-26 19:44:01 -04:00
routes.go caddyhttp: Make metrics opt-in () 2022-09-16 13:32:49 -06:00
server.go logging: Add traceID field to access logs when tracing is active () 2023-04-27 02:46:41 +00:00
server_test.go logging: Add traceID field to access logs when tracing is active () 2023-04-27 02:46:41 +00:00
staticerror.go reverseproxy: Mask the WS close message when we're the client () 2022-11-14 09:38:02 -07:00
staticresp.go log: Make sink logs encodable () 2023-03-27 21:41:24 +00:00
staticresp_test.go Move from deprecated ioutil to os and io packages () 2021-09-29 11:17:48 -06:00
subroute.go reverseproxy: Enable changing only the status code (close ) 2020-06-04 12:06:38 -06:00
vars.go caddyhttp: Fix vars_regexp matcher with placeholders () 2023-03-02 09:01:54 -07:00