aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:19 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:19 +0300
commit2641022229fc7375996cfbbe84ec31e27dd376af (patch)
treea2e4d7c82e84ac7fadae0f0c8379bd4b82f478fa /src
parentf99724f2e06952b54bb5c69b9b9e146ab52d6c1b (diff)
downloadnginx-2641022229fc7375996cfbbe84ec31e27dd376af.tar.gz
nginx-2641022229fc7375996cfbbe84ec31e27dd376af.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_module.h4
-rw-r--r--src/http/ngx_http_core_module.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h
index c94474693..3ac1e437e 100644
--- a/src/core/ngx_module.h
+++ b/src/core/ngx_module.h
@@ -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"
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 773c21502..fb391d744 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -327,10 +327,8 @@ 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;
#if (NGX_PCRE)