Skip to content

Commit

Permalink
update nginx to v1.23.0
Browse files Browse the repository at this point in the history
update json.hpp
update jsoncons
update pybind11
  • Loading branch information
pangpang@hi-nginx.com committed Jun 28, 2022
1 parent 17da8c3 commit 724b06c
Show file tree
Hide file tree
Showing 146 changed files with 15,970 additions and 11,909 deletions.
31 changes: 29 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@

Changes with nginx 1.22.0 24 May 2022
Changes with nginx 1.23.0 21 Jun 2022

*) 1.22.x stable branch.
*) Change in internal API: now header lines are represented as linked
lists.

*) Change: now nginx combines arbitrary header lines with identical
names when sending to FastCGI, SCGI, and uwsgi backends, in the
$r->header_in() method of the ngx_http_perl_module, and during lookup
of the "$http_...", "$sent_http_...", "$sent_trailer_...",
"$upstream_http_...", and "$upstream_trailer_..." variables.

*) Bugfix: if there were multiple "Vary" header lines in the backend
response, nginx only used the last of them when caching.

*) Bugfix: if there were multiple "WWW-Authenticate" header lines in the
backend response and errors with code 401 were intercepted or the
"auth_request" directive was used, nginx only sent the first of the
header lines to the client.

*) Change: the logging level of the "application data after close
notify" SSL errors has been lowered from "crit" to "info".

*) Bugfix: connections might hang if nginx was built on Linux 2.6.17 or
newer, but was used on systems without EPOLLRDHUP support, notably
with epoll emulation layers; the bug had appeared in 1.17.5.
Thanks to Marcus Ball.

*) Bugfix: nginx did not cache the response if the "Expires" response
header line disabled caching, but following "Cache-Control" header
line enabled caching.


Changes with nginx 1.21.6 25 Jan 2022
Expand Down
32 changes: 30 additions & 2 deletions CHANGES.ru
Original file line number Diff line number Diff line change
@@ -1,7 +1,35 @@

Изменения в nginx 1.22.0 24.05.2022
Изменения в nginx 1.23.0 21.06.2022

*) Стабильная ветка 1.22.x.
*) Изменение во внутреннем API: теперь строки заголовков представлены
связными списками.

*) Изменение: теперь nginx объединяет произвольные строки заголовков с
одинаковыми именами при отправке на FastCGI-, SCGI- и uwsgi-бэкенды,
в методе $r->header_in() модуля ngx_http_perl_module, и при доступе
через переменные "$http_...", "$sent_http_...", "$sent_trailer_...",
"$upstream_http_..." и "$upstream_trailer_...".

*) Исправление: если в заголовке ответа бэкенда было несколько строк
"Vary", при кэшировании nginx учитывал только последнюю из них.

*) Исправление: если в заголовке ответа бэкенда было несколько строк
"WWW-Authenticate" и использовался перехват ошибок с кодом 401 от
бэкенда или директива auth_request, nginx пересылал клиенту только
первую из этих строк.

*) Изменение: уровень логгирования ошибок SSL "application data after
close notify" понижен с уровня crit до info.

*) Исправление: соединения могли зависать, если nginx был собран на
Linux 2.6.17 и новее, а использовался на системах без поддержки
EPOLLRDHUP, в частности, на системах с эмуляцией epoll; ошибка
появилась в 1.17.5.
Спасибо Marcus Ball.

*) Исправление: nginx не кэшировал ответ, если строка заголовка ответа
"Expires" запрещала кэширование, а последующая строка заголовка
"Cache-Control" разрешала кэширование.


Изменения в nginx 1.21.6 25.01.2022
Expand Down
3 changes: 3 additions & 0 deletions auto/options
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ use the \"--with-mail_ssl_module\" option instead"
--with-openssl=*) OPENSSL="$value" ;;
--with-openssl-opt=*) OPENSSL_OPT="$value" ;;

--with-http-hi-python-version=*) HTTP_HI_PYTHON_VERSION="$value" ;;
--with-http-hi-lua-version=*) HTTP_HI_LUA_VERSION="$value" ;;

--with-md5=*)
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
$0: warning: the \"--with-md5\" option is deprecated"
Expand Down
2 changes: 1 addition & 1 deletion auto/os/conf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ case "$NGX_MACHINE" in
NGX_MACH_CACHE_LINE=64
;;

aarch64 )
aarch64 | arm64)
have=NGX_ALIGNMENT value=16 . auto/define
NGX_MACH_CACHE_LINE=64
;;
Expand Down
16 changes: 16 additions & 0 deletions auto/os/linux
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,20 @@ ngx_feature_test="struct crypt_data cd;
ngx_include="sys/vfs.h"; . auto/include


# UDP segmentation offloading

ngx_feature="UDP_SEGMENT"
ngx_feature_name="NGX_HAVE_UDP_SEGMENT"
ngx_feature_run=no
ngx_feature_incs="#include <sys/socket.h>
#include <stdint.h>
#include <netinet/udp.h>"
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test="socklen_t optlen = sizeof(int);
int val;
getsockopt(0, SOL_UDP, UDP_SEGMENT, &val, &optlen)"
. auto/feature


CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
3 changes: 2 additions & 1 deletion auto/sources
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ EVENT_DEPS="src/event/ngx_event.h \
src/event/ngx_event_timer.h \
src/event/ngx_event_posted.h \
src/event/ngx_event_connect.h \
src/event/ngx_event_pipe.h"
src/event/ngx_event_pipe.h \
src/event/ngx_event_udp.h"

EVENT_SRCS="src/event/ngx_event.c \
src/event/ngx_event_timer.c \
Expand Down
Loading

0 comments on commit 724b06c

Please sign in to comment.