caddy/modules/caddyhttp
Matt Holt d3c3fa10bd
core: Refactor listeners; use SO_REUSEPORT on Unix (#4705)
* core: Refactor listeners; use SO_REUSEPORT on Unix

Just an experiment for now

* Fix lint by logging error

* TCP Keepalive configuration (#4865)

* initial attempt at TCP Keepalive configuration

* core: implement tcp-keepalive for linux

* move canSetKeepAlive interface

* Godoc for keepalive server parameter

* handle return values

* log keepalive errors

* Clean up after bad merge

* Merge in pluggable network types

From 1edc1a45e3

* Slight refactor, fix from recent merge conflict

Co-authored-by: Karmanyaah Malhotra <karmanyaah.gh@malhotra.cc>
2022-09-02 16:59:11 -06:00
..
caddyauth chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
encode zstd: fix typo in comment (#4985) 2022-08-25 12:00:05 +03:00
fileserver caddyhttp: Smarter path matching and rewriting (#4948) 2022-08-16 08:48:57 -06:00
headers headers: Only replace known placeholders (#4880) 2022-07-12 12:16:03 -06:00
map map: Coerce val to string, fix #4987 2022-09-01 21:15:44 -06:00
push Replace strings.Index usages with strings.Cut (#4930) 2022-08-04 11:17:35 -06:00
requestbody requestbody: Return HTTP 413 (fix #4558) 2022-03-11 12:34:55 -07:00
reverseproxy fastcgi: Optimize FastCGI transport (#4978) 2022-09-02 16:57:55 -06:00
rewrite caddyhttp: Smarter path matching and rewriting (#4948) 2022-08-16 08:48:57 -06:00
standard reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
templates templates: Document httpError function (#4972) 2022-09-01 22:07:52 -06:00
tracing cmd: Use newly-available version information (#4931) 2022-08-04 11:16:59 -06:00
app.go core: Refactor listeners; use SO_REUSEPORT on Unix (#4705) 2022-09-02 16:59:11 -06:00
autohttps.go Minor style adjustments for HTTP redir logging 2022-09-02 13:04:31 -06:00
caddyhttp.go caddyhttp: Smarter path matching and rewriting (#4948) 2022-08-16 08:48:57 -06:00
caddyhttp_test.go caddyhttp: Smarter path matching and rewriting (#4948) 2022-08-16 08:48:57 -06:00
celmatcher.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
celmatcher_test.go Expose several Caddy HTTP Matchers to the CEL Matcher (#4715) 2022-06-22 18:53:46 -04:00
errors.go requestbody: Return HTTP 413 (fix #4558) 2022-03-11 12:34:55 -07:00
httpredirectlistener.go caddyhttp: Move HTTP redirect listener to an optional module (#4585) 2022-02-19 15:36:36 -07:00
marshalers.go caddyhttp: Make logging of credential headers opt-in (#4438) 2021-12-02 13:26:24 -07:00
matchers.go core: Change net.IP to netip.Addr; use netip.Prefix (#4966) 2022-08-17 16:10:57 -06:00
matchers_test.go caddyhttp: Smarter path matching and rewriting (#4948) 2022-08-16 08:48:57 -06:00
metrics.go move common metrics-related funcs to internal package 2022-01-25 15:07:17 -05:00
metrics_test.go move common metrics-related funcs to internal package 2022-01-25 15:07:17 -05:00
replacer.go Fix comment indentation 2022-08-25 13:28:58 -06:00
replacer_test.go caddyfile: Fix caddy fmt nesting not decrementing (#4157) 2021-05-10 12:01:27 -06:00
responsematchers.go General minor improvements to docs 2021-09-24 18:31:01 -06:00
responsematchers_test.go reverseproxy: Add handle_response blocks to reverse_proxy (#3710) (#4021) 2021-05-02 12:39:06 -06:00
responsewriter.go caddyhttp: Fix trailers when recording responses (fixes #3236) 2020-04-22 11:10:13 -06:00
routes.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
server.go core: Refactor listeners; use SO_REUSEPORT on Unix (#4705) 2022-09-02 16:59:11 -06:00
staticerror.go httpcaddyfile: Add error directive for the existing handler (#4034) 2021-03-12 13:25:49 -07:00
staticresp.go caddyhttp: Set Content-Type for static response (#4999) 2022-08-31 09:43:46 -06:00
staticresp_test.go Move from deprecated ioutil to os and io packages (#4364) 2021-09-29 11:17:48 -06:00
subroute.go reverseproxy: Enable changing only the status code (close #2920) 2020-06-04 12:06:38 -06:00
vars.go caddyhttp: Accept placeholders in vars matcher key 2022-09-01 16:49:18 -06:00