+
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coredns/caddy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.2
Choose a base ref
...
head repository: coredns/caddy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.3
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Sep 20, 2025

  1. fix(caddyfile): bump expansion limits (#9)

    A single maxSnippetExpansions of 1000 could be too low for some real
    world scenarios. Snippet-based configuration can be used broadly
    across large CoreDNS Corefiles. We cannot implement a pure
    “import depth” integer with the current splice-then-continue parser
    because imports are expanded by lexing and splicing tokens into the
    stream, not by recursive function calls.
    
    Instead, we introduce high default per-directive caps for snippet and
    file imports, keeping globs counted as one. Prevent trivial snippet
    self-import. Add tests that lower caps to validate failure on
    cycles and success with large glob imports.
    
    This should present a good enough middleground, instead of rewriting
    the parser.
    
    Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
    thevilledev authored Sep 20, 2025
    Configuration menu
    Copy the full SHA
    543b91b View commit details
    Browse the repository at this point in the history
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载