Are modules built with --with-compat compatible across minor versions of NGINX?

Maxim Dounin mdounin at
Wed Nov 27 12:03:00 UTC 2019


On Tue, Nov 26, 2019 at 04:10:28PM -0500, ptcell wrote:

> If I build a dynamic module against, say nginx 1.12.2 with `--with-compat`,
> will it work with, say nginx 1.12.1 (assuming --with-compat all around)
> I assume not, because I found this in ngx_module.c, separate from the
> signature check.  nginx_version has the minor version in it.

Your assumption is correct.

ABI stability is not guranteed on version changes, even minor,
hence modules build for different versions are not compatible.  
Version is checked to explicitly prevent loading of incompatible 

Maxim Dounin

More information about the nginx mailing list