Modules compatibility: degradation fields now always present.

There is no need to save these two bits as they are wasted anyway.
Removed NGX_HTTP_DEGRADATION from the signature accordingly.
This commit is contained in:
Maxim Dounin 2016-10-03 15:58:19 +03:00
parent f99724f2e0
commit 2641022229
2 changed files with 0 additions and 6 deletions

View File

@ -170,11 +170,7 @@
#define NGX_MODULE_SIGNATURE_26 "0"
#endif
#if (NGX_HTTP_DEGRADATION)
#define NGX_MODULE_SIGNATURE_27 "1"
#else
#define NGX_MODULE_SIGNATURE_27 "0"
#endif
#if (NGX_HTTP_X_FORWARDED_FOR)
#define NGX_MODULE_SIGNATURE_28 "1"

View File

@ -327,9 +327,7 @@ struct ngx_http_core_loc_conf_s {
unsigned auto_redirect:1;
#if (NGX_HTTP_GZIP)
unsigned gzip_disable_msie6:2;
#if (NGX_HTTP_DEGRADATION)
unsigned gzip_disable_degradation:2;
#endif
#endif
ngx_http_location_tree_node_t *static_locations;