Welcome! Log In Create A New Profile

Advanced

[nginx] Modules compatibility: degradation fields now always present.

October 03, 2016 09:02AM
details: http://hg.nginx.org/nginx/rev/3b522d7a5b34
branches:
changeset: 6717:3b522d7a5b34
user: Maxim Dounin <mdounin@mdounin.ru>
date: Mon Oct 03 15:58:19 2016 +0300
description:
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:

src/core/ngx_module.h | 4 ----
src/http/ngx_http_core_module.h | 2 --
2 files changed, 0 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 57c8e12c460c -r 3b522d7a5b34 src/core/ngx_module.h
--- a/src/core/ngx_module.h Mon Oct 03 15:58:16 2016 +0300
+++ b/src/core/ngx_module.h Mon Oct 03 15:58:19 2016 +0300
@@ -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 -r 57c8e12c460c -r 3b522d7a5b34 src/http/ngx_http_core_module.h
--- a/src/http/ngx_http_core_module.h Mon Oct 03 15:58:16 2016 +0300
+++ b/src/http/ngx_http_core_module.h Mon Oct 03 15:58:19 2016 +0300
@@ -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)

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Modules compatibility: degradation fields now always present.

ru@nginx.com 512 October 03, 2016 09:02AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready