0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/modules/caddyhttp
WeidiDeng 83b26975bd
fastcgi: Optimize FastCGI transport (#4978)
* break up code and use lazy reading and pool bufio.Writer

* close underlying connection when operation failed

* allocate bufWriter and streamWriter only once

* refactor record writing

* rebase from master

* handle err

* Fix type assertion

Also reduce some duplication

* Refactor client and clientCloser for logging

Should reduce allocations

* Minor cosmetic adjustments; apply Apache license

* Appease the linter

Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
2022-09-02 16:57:55 -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 events: Implement event system (#4912) 2022-08-31 15:01:30 -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
routes.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
server.go Minor style adjustments for HTTP redir logging 2022-09-02 13:04:31 -06:00
staticerror.go
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
vars.go caddyhttp: Accept placeholders in vars matcher key 2022-09-01 16:49:18 -06:00