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....@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-le...@nginx.org

Reply via email to