caddy/caddyconfig
Mohammed Al Sahaf efbb7bc8b8
caddyfile: fix importGraph self-loop and stale-edge bugs
- willCycle now reports a cycle when from == to, so addEdge rejects
  self-loops (a self-importing file was previously accepted).
- removeNode now drops the removed node's outgoing edges and any
  incoming edges pointing at it, keeping the adjacency map consistent.

Also tightens the two tests that previously only logged the buggy
behavior into real assertions.

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2026-08-30 18:22:20 +03:00
..
caddyfile caddyfile: fix importGraph self-loop and stale-edge bugs 2026-08-30 18:22:20 +03:00
httpcaddyfile add server options tests 2026-08-30 15:49:28 +03:00
configadapters.go
configadapters_test.go config: marshalling and warnings 2026-08-30 15:45:15 +03:00
httploader.go caddyconfig: cancel HTTP loader requests with context (#7918) 2026-08-10 15:12:47 +10:00
httploader_test.go caddyconfig: cancel HTTP loader requests with context (#7918) 2026-08-10 15:12:47 +10:00
load.go