Welcome! Log In Create A New Profile

Advanced

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

November 26, 2019 04:10PM
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.


if (module->version != nginx_version) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"module \"%V\" version %ui instead of %ui",
file, module->version, (ngx_uint_t) nginx_version);
return NGX_ERROR;
}
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: 123
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready