Welcome! Log In Create A New Profile

Advanced

Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

杜叶飞(淮叶) via nginx-devel
December 03, 2022 10:18AM
Hello!
I think gzip_disable_degradation needs NGX_HTTP_DEGRADATION in order to be consistent with where used.
details: https://hg.nginx.org/nginx/rev/3b522d7a5b34 <https://hg.nginx.org/nginx/rev/3b522d7a5b34 >
# User BullerDu <yefei.dyf@alibaba-inc.com>
# Date 1670079834 -28800
# Sat Dec 03 23:03:54 2022 +0800
# Branch bugfix
# Node ID 64a105315b9e5dc20dab2416caeb6b3481a460d1
# Parent 0b360747c74e3fa7e439e0684a8cf1da2d14d8f6
Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).
diff -r 0b360747c74e -r 64a105315b9e src/http/ngx_http_core_module.h
--- a/src/http/ngx_http_core_module.h Thu Nov 24 23:08:30 2022 +0400
+++ b/src/http/ngx_http_core_module.h Sat Dec 03 23:03:54 2022 +0800
@@ -315,8 +315,10 @@
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
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

杜叶飞(淮叶) via nginx-devel 346 December 03, 2022 10:18AM

Re: Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

Maxim Dounin 91 December 04, 2022 03:10PM

回复:Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

杜叶飞(淮叶) via nginx-devel 93 December 04, 2022 08:10PM

回复:Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

杜叶飞(淮叶) via nginx-devel 81 December 04, 2022 08:40PM

Re: 回复:Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

Maxim Dounin 84 December 05, 2022 08:04PM

回复:回复:Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

杜叶飞(淮叶) via nginx-devel 112 December 05, 2022 08:56PM



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

Online Users

Guests: 262
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