Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-02 | fastcgi: Optimize FastCGI transport (#4978) | WeidiDeng | |
* 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 | Minor style adjustments for HTTP redir logging | Matthew Holt | |
2022-09-02 | Update readme | Matthew Holt | |
2022-09-02 | Minor fix of error log | Matthew Holt | |
2022-09-02 | notify: Don't send ready after error (fix #5003) | Matthew Holt | |
Also simplify the notify package quite a bit. Also move stop notification into better place. Add ability to send status or error. | |||
2022-09-01 | templates: Document `httpError` function (#4972) | Avdhut | |
* added the httpError function into the document * Update templates.go * Update templates.go * Fix gofmt Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2022-09-02 | fastcgi: allow users to log stderr output (#4967) (#5004) | fleandro | |
Co-authored-by: flga <flga@users.noreply.github.com> | |||
2022-09-01 | cmd: Don't print long help text on error | Matthew Holt | |
2022-09-01 | Fix failing test | Matthew Holt | |
2022-09-01 | dist: deb package manpages and bash completion scripts (#5007) | Mohammed Al Sahaf | |
2022-09-01 | caddyhttp: Copy logger config to HTTP server during AutoHTTPS (#4990) | Francis Lavoie | |
2022-09-01 | map: Coerce val to string, fix #4987 | Matthew Holt | |
Also prevent infinite recursion, and enforce placeholder syntax. | |||
2022-09-01 | httpcaddyfile: Add shortcut for expression matchers (#4976) | Francis Lavoie | |
2022-09-01 | caddyhttp: Accept placeholders in vars matcher key | Matthew Holt | |
Until now, the vars matcher has unintentionally lacked parity with the map directive: the destination placeholders of the map directive would be expressed as placeholders, i.e. {foo}. But the vars matcher would not use { }: vars foo value This looked weird, and was confusing, since it implied that the key could be dynamic, which doesn't seem helpful here. I think this is a proper bug fix, since we're not used to accessing placeholders literally without { } in the Caddyfile. | |||
2022-09-01 | core: Plugins can register listener networks (#5002) | Matt Holt | |
* core: Plugins can register listener networks This can be useful for custom listeners. This feature/API is experimental and may change! * caddyhttp: Expose server listeners | |||
2022-08-31 | caddyhttp: Disable draft versions of QUIC | Matthew Holt | |
See comment in #4996 | |||
2022-08-31 | events: Tune logging and context cancellation | Matthew Holt | |
2022-08-31 | events: Implement event system (#4912) | Francis Lavoie | |
Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2022-08-31 | httpcaddyfile: Add `{cookie.*}` placeholder shortcut (#5001) | Francis Lavoie | |
2022-08-31 | caddyhttp: Set Content-Type for static response (#4999) | Matt Holt | |
2022-08-30 | cmd: Enhance CLI docs | Matthew Holt | |
2022-08-30 | cmd: add completion command (#4994) | Mohammed Al Sahaf | |
* cmd: add completion command * error check | |||
2022-08-30 | cmd: Migrate to `spf13/cobra`, remove single-dash arg support (#4565) | Mohammed Al Sahaf | |
* cmd: migrate to spf13/cobra * add `manpage` command * limit Caddy tagline to root `help` only * hard-code the manpage section to 8 | |||
2022-08-29 | Minor cleanup, resolve a couple lint warnings | Matthew Holt | |
2022-08-27 | Remove duplicate words in comments (#4986) | Abirdcfly | |
2022-08-27 | reverseproxy: Add upstreams healthy metrics (#4935) | Dávid Szabó | |
2022-08-25 | admin: Don't stop old server if new one fails (#4964) | WeidiDeng | |
Fixes #4954 Co-authored-by: Matthew Holt <mholt@users.noreply.github.com> | |||
2022-08-25 | reverseproxy: Multiple dynamic upstreams | Matthew Holt | |
This allows users to, for example, get upstreams from multiple SRV endpoints in order (such as primary and secondary clusters). Also, gofmt went to town on the comments, sigh | |||
2022-08-25 | Fix comment indentation | Matthew Holt | |
2022-08-25 | zstd: fix typo in comment (#4985) | Simon Legner | |
2022-08-24 | httpcaddyfile: Add ocsp_interval global option (#4980) | Ben Burkert | |
2022-08-23 | caddytls: Log error if ask request fails | Matthew Holt | |
Errors returned from the DecisionFunc (whether to get a cert on-demand) are used as a signal whether to allow a cert or not; *any* error will forbid cert issuance. We bubble up the error all the way to the caller, but that caller is the Go standard library which might gobble it up. Now we explicitly log connection errors so sysadmins can ensure their ask endpoints are working. Thanks to our sponsor AppCove for reporting this! | |||
2022-08-23 | ci: Increase linter timeout (#4981) | Matt Holt | |
2022-08-23 | templates: cap of slice should not be smaller than length (#4975) | jedy | |
2022-08-23 | caddyhttp: Fix for nil `handlerErr.Err` (#4977) | Francis Lavoie | |
2022-08-22 | caddyhttp: Set `http.error.message` to the HandlerError message (#4971) | Francis Lavoie | |
2022-08-18 | go.mod: Upgrade CertMagic to v0.16.3 | Matthew Holt | |
2022-08-17 | core: Change net.IP to netip.Addr; use netip.Prefix (#4966) | WilczyńskiT | |
Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2022-08-16 | Clean up metrics test code | Matthew Holt | |
No need to use != for booleans | |||
2022-08-16 | caddyhttp: Smarter path matching and rewriting (#4948) | Matt Holt | |
Co-authored-by: RussellLuo <luopeng.he@gmail.com> | |||
2022-08-15 | fileserver: reset buffer before using it (#4962) (#4963) | Abdussamet Koçak | |
2022-08-15 | caddyhttp: Enable HTTP/3 by default (#4707) | Matt Holt | |
2022-08-12 | reverseproxy: Add `unix+h2c` Caddyfile network shortcut (#4953) | Francis Lavoie | |
2022-08-12 | reverseproxy: Ignore context cancel in stream mode (#4952) | Matt Holt | |
2022-08-12 | reverseproxy: Fix H2C dialer using new stdlib `DialTLSContext` (#4951) | Francis Lavoie | |
2022-08-09 | httpcaddyfile: redir with "html" emits 200, no Location (fix #4940) | Matthew Holt | |
The intent of "html" is to redirect browser clients only, or those which can evaluate JS and/or meta tags. So return HTTP 200 and no Location header. See #4940. | |||
2022-08-09 | reverseproxy: Support 1xx status codes (HTTP early hints) (#4882) | Kévin Dunglas | |
2022-08-08 | logging: Fix `cookie` filter (#4943) | Francis Lavoie | |
2022-08-08 | go.mod: Upgrade OpenTelemetry dependencies (#4937) | lewandowski-stripe | |
2022-08-08 | fileserver: Better fix for Etag of compressed files | Matthew Holt | |