Skip to content

Commit 9883c52

Browse files
update nginx to 1.23.4
1 parent 14dc045 commit 9883c52

File tree

169 files changed

+7799
-3282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+7799
-3282
lines changed

CHANGES

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,50 @@
11

2+
Changes with nginx 1.23.4 28 Mar 2023
3+
4+
*) Change: now TLSv1.3 protocol is enabled by default.
5+
6+
*) Change: now nginx issues a warning if protocol parameters of a
7+
listening socket are redefined.
8+
9+
*) Change: now nginx closes connections with lingering if pipelining was
10+
used by the client.
11+
12+
*) Feature: byte ranges support in the ngx_http_gzip_static_module.
13+
14+
*) Bugfix: port ranges in the "listen" directive did not work; the bug
15+
had appeared in 1.23.3.
16+
Thanks to Valentin Bartenev.
17+
18+
*) Bugfix: incorrect location might be chosen to process a request if a
19+
prefix location longer than 255 characters was used in the
20+
configuration.
21+
22+
*) Bugfix: non-ASCII characters in file names on Windows were not
23+
supported by the ngx_http_autoindex_module, the ngx_http_dav_module,
24+
and the "include" directive.
25+
26+
*) Change: the logging level of the "data length too long", "length too
27+
short", "bad legacy version", "no shared signature algorithms", "bad
28+
digest length", "missing sigalgs extension", "encrypted length too
29+
long", "bad length", "bad key update", "mixed handshake and non
30+
handshake data", "ccs received early", "data between ccs and
31+
finished", "packet length too long", "too many warn alerts", "record
32+
too small", and "got a fin before a ccs" SSL errors has been lowered
33+
from "crit" to "info".
34+
35+
*) Bugfix: a socket leak might occur when using HTTP/2 and the
36+
"error_page" directive to redirect errors with code 400.
37+
38+
*) Bugfix: messages about logging to syslog errors did not contain
39+
information that the errors happened while logging to syslog.
40+
Thanks to Safar Safarly.
41+
42+
*) Workaround: "gzip filter failed to use preallocated memory" alerts
43+
appeared in logs when using zlib-ng.
44+
45+
*) Bugfix: in the mail proxy server.
46+
47+
248
Changes with nginx 1.23.3 13 Dec 2022
349

450
*) Bugfix: an error might occur when reading PROXY protocol version 2

CHANGES.ru

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,51 @@
11

2+
Изменения в nginx 1.23.4 28.03.2023
3+
4+
*) Изменение: теперь протокол TLSv1.3 разрешён по умолчанию.
5+
6+
*) Изменение: теперь nginx выдаёт предупреждение при переопределении
7+
параметров listen-сокета, задающих используемые протоколы.
8+
9+
*) Изменение: теперь, если клиент использует pipelining, nginx закрывает
10+
соединения с ожиданием дополнительных данных (lingering close).
11+
12+
*) Добавление: поддержка byte ranges для ответов модуля
13+
ngx_http_gzip_static_module.
14+
15+
*) Исправление: диапазоны портов в директиве listen не работали; ошибка
16+
появилась в 1.23.3.
17+
Спасибо Валентину Бартеневу.
18+
19+
*) Исправление: для обработки запроса мог быть выбран неверный location,
20+
если в конфигурации использовался префиксный location длиннее 255
21+
символов.
22+
23+
*) Исправление: не-ASCII символы в именах файлов на Windows не
24+
поддерживались модулями ngx_http_autoindex_module и
25+
ngx_http_dav_module, а также директивой include.
26+
27+
*) Изменение: уровень логгирования ошибок SSL "data length too long",
28+
"length too short", "bad legacy version", "no shared signature
29+
algorithms", "bad digest length", "missing sigalgs extension",
30+
"encrypted length too long", "bad length", "bad key update", "mixed
31+
handshake and non handshake data", "ccs received early", "data
32+
between ccs and finished", "packet length too long", "too many warn
33+
alerts", "record too small", и "got a fin before a ccs" понижен с
34+
уровня crit до info.
35+
36+
*) Исправление: при использовании HTTP/2 и директивы error_page для
37+
перенаправления ошибок с кодом 400 могла происходить утечка сокетов.
38+
39+
*) Исправление: сообщения об ошибках записи в syslog не содержали
40+
информации о том, что ошибки происходили в процессе записи в syslog.
41+
Спасибо Safar Safarly.
42+
43+
*) Изменение: при использовании zlib-ng в логах появлялись сообщения
44+
"gzip filter failed to use preallocated memory".
45+
46+
*) Исправление: в почтовом прокси-сервере.
47+
48+
249
Изменения в nginx 1.23.3 13.12.2022
350

451
*) Исправление: при чтении заголовка протокола PROXY версии 2,

auto/cc/conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ else
117117
. auto/cc/acc
118118
;;
119119

120-
msvc*)
120+
msvc)
121121
# MSVC++ 6.0 SP2, MSVC++ Toolkit 2003
122122

123123
. auto/cc/msvc

auto/cc/msvc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# MSVC 2015 (14.0) cl 19.00
1212

1313

14-
NGX_MSVC_VER=`$NGX_WINE $CC 2>&1 | grep 'Compiler Version' 2>&1 \
15-
| sed -e 's/^.* Version \(.*\)/\1/'`
14+
NGX_MSVC_VER=`$NGX_WINE $CC 2>&1 | grep 'C/C++.* [0-9][0-9]*\.[0-9]' 2>&1 \
15+
| sed -e 's/^.* \([0-9][0-9]*\.[0-9].*\)/\1/'`
1616

1717
echo " + cl version: $NGX_MSVC_VER"
1818

@@ -22,6 +22,21 @@ have=NGX_COMPILER value="\"cl $NGX_MSVC_VER\"" . auto/define
2222
ngx_msvc_ver=`echo $NGX_MSVC_VER | sed -e 's/^\([0-9]*\).*/\1/'`
2323

2424

25+
# detect x64 builds
26+
27+
case "$NGX_MSVC_VER" in
28+
29+
*x64)
30+
NGX_MACHINE=amd64
31+
;;
32+
33+
*)
34+
NGX_MACHINE=i386
35+
;;
36+
37+
esac
38+
39+
2540
# optimizations
2641

2742
# maximize speed, equivalent to -Og -Oi -Ot -Oy -Ob2 -Gs -GF -Gy

auto/lib/openssl/make

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,24 @@ case "$CC" in
77

88
cl)
99

10+
case "$NGX_MACHINE" in
11+
12+
amd64)
13+
OPENSSL_TARGET=VC-WIN64A
14+
;;
15+
16+
*)
17+
OPENSSL_TARGET=VC-WIN32
18+
;;
19+
20+
esac
21+
1022
cat << END >> $NGX_MAKEFILE
1123

1224
$OPENSSL/openssl/include/openssl/ssl.h: $NGX_MAKEFILE
1325
\$(MAKE) -f auto/lib/openssl/makefile.msvc \
14-
OPENSSL="$OPENSSL" OPENSSL_OPT="$OPENSSL_OPT"
26+
OPENSSL="$OPENSSL" OPENSSL_OPT="$OPENSSL_OPT" \
27+
OPENSSL_TARGET="$OPENSSL_TARGET"
1528

1629
END
1730

auto/lib/openssl/makefile.msvc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
all:
77
cd $(OPENSSL)
88

9-
perl Configure VC-WIN32 no-shared no-threads \
9+
perl Configure $(OPENSSL_TARGET) no-shared no-threads \
1010
--prefix="%cd%/openssl" \
1111
--openssldir="%cd%/openssl/ssl" \
1212
$(OPENSSL_OPT)

auto/os/linux

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ ngx_feature="UDP_SEGMENT"
238238
ngx_feature_name="NGX_HAVE_UDP_SEGMENT"
239239
ngx_feature_run=no
240240
ngx_feature_incs="#include <sys/socket.h>
241-
#include <stdint.h>
242241
#include <netinet/udp.h>"
243242
ngx_feature_path=
244243
ngx_feature_libs=

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ if test -z "$NGX_PLATFORM"; then
4444
else
4545
echo "building for $NGX_PLATFORM"
4646
NGX_SYSTEM=$NGX_PLATFORM
47+
NGX_MACHINE=i386
4748
fi
4849

4950
. auto/cc/conf

0 commit comments

Comments
 (0)