Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddyhttp: Export PrivateRangesCIDR() for plugins after #6480 #6514

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

vnxme
Copy link
Contributor

@vnxme vnxme commented Aug 12, 2024

As discussed in mholt/caddy-l4#224, let's move PrivateRangesCIDR() back to caddyhttp and caddytls after #6480.

@francislavoie
Copy link
Member

francislavoie commented Aug 12, 2024

What if we keep it in internal for internal use but just keep a pass-through function (i.e. calling down to internal) in caddyhttp for plugin compat? That way there's no duplication of the list of IPs.

@vnxme vnxme force-pushed the move-privaterangescidr-back branch from 4c1a432 to 07af7bd Compare August 12, 2024 09:32
@francislavoie francislavoie changed the title Move PrivateRangesCIDR() back to caddyhttp and caddytls after #6480 caddyhttp: Export PrivateRangesCIDR() for plugins after #6480 Aug 12, 2024
@francislavoie francislavoie merged commit 3a48b03 into caddyserver:master Aug 12, 2024
23 checks passed
@vnxme vnxme deleted the move-privaterangescidr-back branch August 12, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants