Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
November 27, 2019 07:04AM
Hello!

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
modules.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

ptcell November 26, 2019 04:10PM

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

Maxim Dounin November 27, 2019 07:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready