From 8740af5fb74bf1aa9d3e53e2341e49219444575a Mon Sep 17 00:00:00 2001 From: Hakase Date: Wed, 21 Mar 2018 02:41:09 +0900 Subject: [PATCH] v1.13.10 Release - 7244 --- .hgtags | 1 + auto.sh | 2 +- docs/xml/nginx/changes.xml | 84 +++++++++++++++++++++++++ src/http/modules/ngx_http_grpc_module.c | 1 + 4 files changed, 87 insertions(+), 1 deletion(-) diff --git a/.hgtags b/.hgtags index fce3720..dfe844f 100644 --- a/.hgtags +++ b/.hgtags @@ -422,3 +422,4 @@ f87da7d9ca02b8ced4caa6c5eb9013ccd47b0117 release-1.13.6 47cca243d0ed39bf5dcb9859184affc958b79b6f release-1.13.7 20ca4bcff108d3e66977f4d97508637093492287 release-1.13.8 fb1212c7eca4c5328fe17d6cd95b010c67336aac release-1.13.9 +31c929e16910c38492581ef474e72fa67c28f124 release-1.13.10 diff --git a/auto.sh b/auto.sh index bec0ba5..f9d2017 100755 --- a/auto.sh +++ b/auto.sh @@ -40,7 +40,7 @@ fi auto/configure \ --with-cc-opt='-DTCP_FASTOPEN=23 -m64 -g -O3 -march=native -fstack-protector-strong -fuse-ld=gold -fuse-linker-plugin --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wno-strict-aliasing -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf -DNGX_HTTP_HEADERS' \ --with-ld-opt='-ljemalloc -Wl,-z,relro' \ ---with-openssl-opt="enable-weak-ssl-ciphers -DCFLAGS='-march=native -O3 -fuse-linker-plugin'" \ +--with-openssl-opt="enable-ec_nistp_64_gcc_128 enable-weak-ssl-ciphers no-ssl3-method -DCFLAGS='-march=native -O3 -fuse-linker-plugin'" \ --builddir=objs --prefix=/usr/local/nginx \ --conf-path=/etc/nginx/nginx.conf \ --pid-path=/var/run/nginx.pid \ diff --git a/docs/xml/nginx/changes.xml b/docs/xml/nginx/changes.xml index a58e164..7cb1fcf 100644 --- a/docs/xml/nginx/changes.xml +++ b/docs/xml/nginx/changes.xml @@ -5,6 +5,90 @@ + + + + +теперь параметр set в SSI-директиве include +позволяет сохранять в переменную любые ответы; +максимальный размер ответа задаётся директивой subrequest_output_buffer_size. + + +the "set" parameter of the "include" SSI directive now allows +writing arbitrary responses to a variable; +the "subrequest_output_buffer_size" directive defines maximum response size. + + + + + +теперь nginx использует вызов clock_gettime(CLOCK_MONOTONIC), если он доступен, +что позволяет избежать некорректного срабатывания таймаутов +при изменениях системного времени. + + +now nginx uses clock_gettime(CLOCK_MONOTONIC) if available, +to avoid timeouts being incorrectly triggered +on system time changes. + + + + + +параметр "escape=none" директивы log_format.
+Спасибо Johannes Baiter и Calin Don. +
+ +the "escape=none" parameter of the "log_format" directive.
+Thanks to Johannes Baiter and Calin Don. +
+
+ + + +переменная $ssl_preread_alpn_protocols +в модуле ngx_stream_ssl_preread_module. + + +the $ssl_preread_alpn_protocols variable +in the ngx_stream_ssl_preread_module. + + + + + +модуль ngx_http_grpc_module. + + +the ngx_http_grpc_module. + + + + + +в обработке ошибок выделения памяти в директиве geo. + + +in memory allocation error handling in the "geo" directive. + + + + + +при использовании переменных в директиве auth_basic_user_file +в лог мог выводиться символ '\0'.
+Спасибо Вадиму Филимонову. +
+ +when using variables in the "auth_basic_user_file" directive +a null character might appear in logs.
+Thanks to Vadim Filimonov. +
+
+ +
+ + diff --git a/src/http/modules/ngx_http_grpc_module.c b/src/http/modules/ngx_http_grpc_module.c index 5ec45e2..b6be9b8 100644 --- a/src/http/modules/ngx_http_grpc_module.c +++ b/src/http/modules/ngx_http_grpc_module.c @@ -2410,6 +2410,7 @@ ngx_http_grpc_parse_header(ngx_http_request_t *r, ngx_http_grpc_ctx_t *ctx, } ctx->padding = 0; + ctx->frame_state = state; } if (state < sw_fragment) {