Commit Graph

  • 4158f9e8d5
    fix matching if only h1 is enabled server-h2-handling-using-protocols WeidiDeng 2025-05-23 10:28:58 +08:00
  • c28bab9cb3
    remove http/1.1 from alpn if h1 is disabled Weidi Deng 2025-04-28 18:27:01 +08:00
  • 92ea784712
    return a net.Conn that implements connectionStater if applicable Weidi Deng 2025-04-28 18:21:40 +08:00
  • 4c1922448b
    fix if check WeidiDeng 2025-04-28 17:03:47 +08:00
  • 337fc17423
    add comments about either h1 or h2 must be used in the listener WeidiDeng 2025-04-28 16:57:39 +08:00
  • ff4aae6098
    check if connection implements connectionStater when it should WeidiDeng 2025-04-28 16:52:49 +08:00
  • c537d9bc5c
    check http version while reading the connection WeidiDeng 2025-04-28 16:20:41 +08:00
  • 6c1d6b06b4
    fix handling for h2c WeidiDeng 2025-04-28 15:36:59 +08:00
  • 16e184af16
    keep ConnCtxKey for now WeidiDeng 2025-04-17 12:14:25 +08:00
  • ca256e3acf
    fix lint WeidiDeng 2025-04-17 11:33:59 +08:00
  • f4b57b0a32
    use the new http.Protocols to handle h1, h2 and h2c requests WeidiDeng 2025-04-17 11:13:43 +08:00
  • aafecf9d66
    use already buffered response if possible when intercepting intercept-dup-headers WeidiDeng 2025-05-20 10:39:27 +08:00
  • a76d005a94
    Use maps.Copy for simpler map handling (#7009) master eveneast 2025-05-14 05:16:47 +08:00
  • 8524386737
    caddyhttp: Compare paths w/o wildcard if prefixes differ (#7015) WeidiDeng 2025-05-14 03:17:52 +08:00
  • 94147caf31
    fileserver: map invalid path errors to fs.ErrInvalid, and return 400 for any invalid path errors. (close #7008) (#7017) Jimmy Lipham 2025-05-13 08:43:27 -05:00
  • 716d72e475
    intercept: implement Unwrap for interceptedResponseHandler (#7016) WeidiDeng 2025-05-13 02:15:34 +08:00
  • 08aee56c57
    remove unused function split-commands Mohammed Al Sahaf 2025-05-10 19:10:29 +03:00
  • aea4013a56
    cmd: remove {add,remove}-package and upgrade commands Mohammed Al Sahaf 2025-05-10 17:50:13 +03:00
  • 44d078b670
    acme_server: fix policy parsing in caddyfile (#7006) Mohammed Al Sahaf 2025-05-08 20:54:07 +03:00
  • 051e73aefc
    core: Replace admin server later in provisionContext (#7004) Jimmy Lipham 2025-05-08 12:52:55 -05:00
  • 9f7148392a
    log: default logger should respect {in,ex}clude (#6995) Mohammed Al Sahaf 2025-05-07 01:06:09 +03:00
  • 320c57291d
    admin: Make sure that any admin routers are provisioned when local/re… (#6997) Jimmy Lipham 2025-05-06 16:28:38 -05:00
  • 3cece4b644
    use embedded structs where they were used before golangcilint-v2 Mohammed Al Sahaf 2025-05-02 20:56:05 +03:00
  • 111fcddd56
    Merge branch 'master' into golangcilint-v2 Mohammed Al Sahaf 2025-05-02 20:43:03 +03:00
  • ff3972f5e1
    reverse proxy: use http.Protocols to handle h2c requests rp-h2c-protocol WeidiDeng 2025-04-29 11:34:54 +08:00
  • aa3d20be3e
    reverseproxy: Use DialTLSContext if ServerName has placeholder (#6955) WeidiDeng 2025-04-28 23:14:09 +08:00
  • 54d03ced48
    fileserver: Add support for .avif image format (#6988) Steffen Busch 2025-04-28 16:32:59 +02:00
  • 89ed5f44de
    fix: Remove nil arg from zapslog.NewHandler call (#6984) Indra Gunawan 2025-04-28 22:31:10 +08:00
  • 105eee671c caddytls: Set local_ip, not remote_ip (#6952) Matthew Holt 2025-04-21 18:32:39 -06:00
  • 737936c06b
    reverseproxy: reference correct field name in LoadModule (#6978) Mohammed Al Sahaf 2025-04-21 17:43:27 +03:00
  • a6d488a15b
    go.mod: update quic-go to v0.51.0 (#6972) Marten Seemann 2025-04-20 21:39:00 +08:00
  • fb22a26b1a
    caddytls: Allow missing ECH meta file v2.10.0 Matthew Holt 2025-04-18 12:20:21 -06:00
  • 1bfa111552
    caddytls: Prefer managed wildcard certs over individual subdomain certs (#6959) Matt Holt 2025-04-18 11:44:23 -06:00
  • 8690157240
    set read/write buffer and enable nagle's algorithm for testing rp-low-level-tweak WeidiDeng 2025-04-18 08:21:55 +08:00
  • 35c8c2d92d
    caddytls: Add remote_ip to HTTP cert manager (close #6952) Matthew Holt 2025-04-17 16:43:06 -06:00
  • 0b2802faa4
    build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#6960) dependabot[bot] 2025-04-16 23:34:35 +00:00
  • 0db963bf61
    Merge branch 'master' into leaf-verifier-caddyfile leaf-verifier-caddyfile Mohammed Al Sahaf 2025-04-16 02:40:15 +03:00
  • e82dcf8094
    review feedback + tests Mohammed Al Sahaf 2025-04-16 02:34:32 +03:00
  • 5be77d07ab
    caddyauth: Set authentication provider error in placeholder (#6932) Steffen Busch 2025-04-16 00:32:08 +02:00
  • 01fa65ad56
    Merge branch 'master' into leaf-verifier-caddyfile Mohammed Al Sahaf 2025-04-16 01:03:32 +03:00
  • 137711ae3e
    go.mod: Upgrade acmez and certmagic Matthew Holt 2025-04-15 15:08:12 -06:00
  • f297bc0a04
    admin: Remove host checking for UDS (close #6832) Matthew Holt 2025-04-15 14:20:22 -06:00
  • 6c38ae7381
    reverseproxy: Add valid Upstream to DialInfo in active health checks (#6949) Jesper Brix Rosenkilde 2025-04-15 16:44:53 +02:00
  • def9db1f16
    Fix the incorrect parameter order (#6951) cui fliter 2025-04-13 11:19:32 +08:00
  • ce926b87ed
    chore: fix comment (#6950) riyueguang 2025-04-12 12:24:17 +08:00
  • b06a9496d1
    caddyhttp: Document side effect of HTTP/3 early data (close #6936) Matthew Holt 2025-04-08 13:59:02 -06:00
  • 9becf61a9f
    go.mod: Upgrade to libdns 1.0 beta APIs (requires upgraded DNS providers) Matthew Holt 2025-04-07 12:43:11 -06:00
  • 924273f6a3
    Merge branch 'master' into golangcilint-v2 Mohammed Al Sahaf 2025-04-03 02:56:36 +04:00
  • 57a85ede02
    use embedded structs Mohammed Al Sahaf 2025-04-03 01:50:17 +03:00
  • 5a6b2f8d1d
    events: Refactor; move Event into core, so core can emit events (#6930) Matt Holt 2025-03-29 08:15:43 -06:00
  • ea77a9ab67
    caddytls: Temporarily treat "" and "@" as equivalent for DNS publication Matthew Holt 2025-03-25 16:24:16 -06:00
  • c65fc0bb1a
    oops Mohammed Al Sahaf 2025-03-25 23:28:55 +03:00
  • e42cf4fc80
    appease the linter some more Mohammed Al Sahaf 2025-03-25 23:19:42 +03:00
  • d3464efffd
    bring back comments to .golangci.yml Mohammed Al Sahaf 2025-03-25 23:09:12 +03:00
  • 61703a147f
    more lint fixes Mohammed Al Sahaf 2025-03-25 23:02:55 +03:00
  • 9e284a5b0b
    run golangci-lint run --fix Mohammed Al Sahaf 2025-03-25 22:55:56 +03:00
  • fb467eb9a5
    chore: upgrade .golangci.yml and workflow to v2 Mohammed Al Sahaf 2025-03-25 22:46:04 +03:00
  • 7672b7848f
    go.mod: Upgrade CertMagic v2.10.0-beta.4 Matthew Holt 2025-03-24 20:51:05 -06:00
  • 86c620fb4e
    go.mod: Minor dependency upgrades v2.10.0-beta.3 Matthew Holt 2025-03-24 16:16:11 -06:00
  • 782a3c7ac6
    caddytls: Don't publish HTTPS record for CNAME'd domain (fix #6922) Matthew Holt 2025-03-24 09:55:26 -06:00
  • 173573035c
    core: add modular network_proxy support (#6399) Mohammed Al Sahaf 2025-03-21 20:06:15 +03:00
  • 7b1f00c330
    update quic-go to v0.50.1 (#6918) Marten Seemann 2025-03-21 20:33:49 +07:00
  • 8dc76676fb
    chore: Modernize a couple for loops Matthew Holt 2025-03-19 09:53:42 -06:00
  • e276994174
    caddytls: Initialize permission module earlier (fix #6901) Matthew Holt 2025-03-17 12:02:23 -06:00
  • b3e692ed09
    caddyfile: Fix formatting for backquote wrapped braces (#6903) Ted 2025-03-17 17:58:46 +03:00
  • 55c89ccf2a
    caddytls: Convert AP subjects to punycode Matthew Holt 2025-03-14 15:44:20 -06:00
  • 1f8dab572c caddytls: Don't publish ECH configs if other records don't exist Matthew Holt 2025-03-12 16:33:03 -06:00
  • 2ac09fdb20
    requestbody: Fix ContentLength calculation after body replacement (#6896) Steffen Busch 2025-03-12 23:18:02 +01:00
  • dccf3d8982
    requestbody: Add set option to replace request body (#5795) Adrien Pensart 2025-03-12 15:38:51 -04:00
  • 3d9b1df852 caddytls: Fix TrustedCACerts backwards compatibility (#6889) stripe jjiang-stripe 2025-03-10 11:50:47 -07:00
  • af2d33afbb
    headers: Allow nil HeaderOps (fix #6893) Matthew Holt 2025-03-11 08:52:15 -06:00
  • 39262f8663 caddytls: Minor fixes for ECH Matthew Holt 2025-03-11 08:12:42 -06:00
  • 49f9af9a4a
    caddytls: Fix TrustedCACerts backwards compatibility (#6889) jjiang-stripe 2025-03-10 11:50:47 -07:00
  • d57ab215a2 caddytls: Pointer receiver (fix #6885) v2.10.0-beta.2 Matthew Holt 2025-03-08 14:18:54 -07:00
  • f4432a306a
    caddyfile: add error handling for unrecognized subdirective/options in various modules (#6884) Steffen Busch 2025-03-08 21:45:05 +01:00
  • 220cd1c2bc
    reverseproxy: more comments about buffering and add new tests (#6778) WeidiDeng 2025-03-08 02:22:43 +08:00
  • 1975408d89 chore: Remove unnecessary explicit type parameters Matthew Holt 2025-03-07 11:17:49 -07:00
  • 4ebcfed9c9 caddytls: Reorder provisioning steps (fix #6877) Matthew Holt 2025-03-07 11:17:14 -07:00
  • d2a2311bfd
    ci: fix Go matrix (#6846) Kévin Dunglas 2025-03-07 18:40:51 +01:00
  • adbe7f87e6
    caddytls: Only make DNS solver if not already set (fix #6880) Matthew Holt 2025-03-07 09:46:43 -07:00
  • 19876208c7
    cmd: Promote undo maxProcs func to caller Matthew Holt 2025-03-06 16:47:02 -07:00
  • a686f7c346
    cmd: Only set memory/CPU limits on run (fix #6879) Matthew Holt 2025-03-06 15:11:38 -07:00
  • 84364ffcd0
    caddypki: Remove lifetime check at Caddyfile parse (fix #6878) Matthew Holt 2025-03-06 11:40:03 -07:00
  • 1641e76fd7
    go.mod: Upgrade dependencies v2.10.0-beta.1 Matthew Holt 2025-03-06 09:52:02 -07:00
  • bc3d497739
    caddytls: Fix broken refactor Matthew Holt 2025-03-06 08:54:40 -07:00
  • a807fe0659
    caddytls: Enhance ECH documentation Matthew Holt 2025-03-06 08:52:52 -07:00
  • 3207769232 Update min go version in readme Matthew Holt 2025-03-06 06:51:18 -07:00
  • 481bc80d6e
    readme: update Twitter name and link (#6874) sashaphmn 2025-03-06 10:21:30 +02:00
  • 3644ee31ca
    build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#6876) dependabot[bot] 2025-03-05 17:11:11 -07:00
  • d7764dfdbb
    caddytls: Encrypted ClientHello (ECH) (#6862) Matt Holt 2025-03-05 17:04:10 -07:00
  • eacd7720e9
    build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4 (#6871) dependabot[bot] 2025-03-03 14:02:16 -07:00
  • 02e348f911
    chore: upgrade cobra (#6868) Mohammed Al Sahaf 2025-03-03 23:49:17 +03:00
  • ca37c0b05f Fix typo in TLS group x25519mlkem768 Matthew Holt 2025-03-03 10:26:39 -07:00
  • 8861eae223
    caddytest: Support configuration defaults override (#6850) baruchyahalom 2025-03-03 16:35:54 +02:00
  • fd4de7e0ae
    chore: update quic-go to v0.50.0 (#6854) Marten Seemann 2025-02-20 10:45:52 +01:00
  • 0d7c63920d
    go.mod: remove glog dependency (#6838) Ns2Kracy 2025-02-17 23:08:39 +08:00
  • 6a8d4f1d60
    chore: ci: upgrade Go version to 1.24 (#6839) Mohammed Al Sahaf 2025-02-17 17:58:20 +03:00
  • d7621fdbe6
    tests: tests for error handling & metrics in admin endpoints (#6805) Gaurav Dhameeja 2025-02-12 15:39:47 +04:00
  • 172136a0a0
    caddytls: Support post-quantum key exchange mechanism X25519MLKEM768 Matthew Holt 2025-02-11 22:43:54 -07:00
  • 22563a70eb
    file_server: use the UTC timezone for modified time (#6830) WeidiDeng 2025-02-10 23:39:43 +08:00