Skip to content

Restore old behavior to only call geo init with a geopath#13025

Open
cmcfarlen wants to merge 1 commit intoapache:masterfrom
cmcfarlen:refix-hrw-mmdb-load
Open

Restore old behavior to only call geo init with a geopath#13025
cmcfarlen wants to merge 1 commit intoapache:masterfrom
cmcfarlen:refix-hrw-mmdb-load

Conversation

@cmcfarlen
Copy link
Contributor

PR #12855 reintroduced a bug that would cause remap rules with header_rewrite plugins configured with mmdb files to never load the mmdb file. This is because the call_once utilitized to initialize the file is a global to the plugin, so applies to every remap instance. This means the first remap instance to load the mmdb will also set it for every other remap instance. If you call call_once without a path, then any remap instances that call mmdb after will silently fail to load.

See $11812 and #12126

@cmcfarlen cmcfarlen added this to the 11.0.0 milestone Mar 27, 2026
@cmcfarlen cmcfarlen requested a review from bneradt March 27, 2026 01:00
@cmcfarlen cmcfarlen self-assigned this Mar 27, 2026
@cmcfarlen cmcfarlen added Bug header_rewrite header_rewrite plugin labels Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug header_rewrite header_rewrite plugin

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant