On Wed, Sep 16, 2026 at 11:03:59AM -0400, Eric Covener wrote:
> > I think it's good to have an order defined by the hooks rather than the
> > LoadModule order, but didn't think too hard about what that should be.
> > Given that mod_mime_libmagic is off by default it would make more sense
> > to flip the order and have libmagic run first (when enabled)?
> 
> overkill but maybe:
> 
> - hook twice, early and late
> - opt-in to run early
> - don't run twice
> 
> That preserves the "supplement mod_mime" by default but allows it to be 
> flipped

Yes that does seem like overkill ;) IMO we want in order of preference:

mod_mime -> (mod_mime_libmagic if enabled) -> mod_mime_magic

so mod_mime should declare both *magic modules as successors
and mod_mime_libmagic should declare mod_mime_magic as a successor
and mod_mime_magic doesn't need to declare anything.
I think?

Reply via email to