Mercurial > hg > nginx
comparison src/core/ngx_module.h @ 6735:e38e9c50a40e
Modules compatibility: compatibility with NGX_HTTP_SSL.
With this change it is now possible to load modules compiled without
the "--with-http_ssl_module" configure option into nginx binary compiled
with it, and vice versa (if a module doesn't use ssl-specific functions),
assuming both use the "--with-compat" option.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 10 Oct 2016 18:44:17 +0300 |
parents | 0c572ed91b36 |
children | ec2e6893caaa |
comparison
equal
deleted
inserted
replaced
6734:0c572ed91b36 | 6735:e38e9c50a40e |
---|---|
137 #define NGX_MODULE_SIGNATURE_23 "1" | 137 #define NGX_MODULE_SIGNATURE_23 "1" |
138 #else | 138 #else |
139 #define NGX_MODULE_SIGNATURE_23 "0" | 139 #define NGX_MODULE_SIGNATURE_23 "0" |
140 #endif | 140 #endif |
141 | 141 |
142 #if (NGX_HTTP_SSL) | 142 #if (NGX_HTTP_SSL || NGX_COMPAT) |
143 #define NGX_MODULE_SIGNATURE_24 "1" | 143 #define NGX_MODULE_SIGNATURE_24 "1" |
144 #else | 144 #else |
145 #define NGX_MODULE_SIGNATURE_24 "0" | 145 #define NGX_MODULE_SIGNATURE_24 "0" |
146 #endif | 146 #endif |
147 | 147 |