Commit graph

2 commits

Author SHA1 Message Date
Mohammed Al Sahaf
d23e8faeb9
caddyhttp: call StaticIPRange.Provision directly in tests
TestStaticIPRangeProvision was re-implementing Provision's loop
instead of calling it. The real Provision only touches the Ranges
field, so a zero-value caddy.Context is enough to exercise it.

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2026-10-19 11:20:29 +03:00
Mohammed Al Sahaf
dff784fff8
http: CIDR-to-prefix translation
Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2026-10-19 11:17:09 +03:00