Skip to content

Commit 5b7a16a

Browse files
committed
버전 1.19.3 업데이트
자세한 사항은 CHANGES 파일을 참고하세요.
1 parent b75e937 commit 5b7a16a

Some content is hidden

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

42 files changed

+2154
-292
lines changed

CHANGES

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

2+
Changes with nginx 1.19.3 29 Sep 2020
3+
4+
*) Feature: the ngx_stream_set_module.
5+
6+
*) Feature: the "proxy_cookie_flags" directive.
7+
8+
*) Feature: the "userid_flags" directive.
9+
10+
*) Bugfix: the "stale-if-error" cache control extension was erroneously
11+
applied if backend returned a response with status code 500, 502,
12+
503, 504, 403, 404, or 429.
13+
14+
*) Bugfix: "[crit] cache file ... has too long header" messages might
15+
appear in logs if caching was used and the backend returned responses
16+
with the "Vary" header line.
17+
18+
*) Workaround: "[crit] SSL_write() failed" messages might appear in logs
19+
when using OpenSSL 1.1.1.
20+
21+
*) Bugfix: "SSL_shutdown() failed (SSL: ... bad write retry)" messages
22+
might appear in logs; the bug had appeared in 1.19.2.
23+
24+
*) Bugfix: a segmentation fault might occur in a worker process when
25+
using HTTP/2 if errors with code 400 were redirected to a proxied
26+
location using the "error_page" directive.
27+
28+
*) Bugfix: socket leak when using HTTP/2 and subrequests in the njs
29+
module.
30+
31+
32+
Changes with nginx 1.19.2 11 Aug 2020
33+
34+
*) Change: now nginx starts closing keepalive connections before all
35+
free worker connections are exhausted, and logs a warning about this
36+
to the error log.
37+
38+
*) Change: optimization of client request body reading when using
39+
chunked transfer encoding.
40+
41+
*) Bugfix: memory leak if the "ssl_ocsp" directive was used.
42+
43+
*) Bugfix: "zero size buf in output" alerts might appear in logs if a
44+
FastCGI server returned an incorrect response; the bug had appeared
45+
in 1.19.1.
46+
47+
*) Bugfix: a segmentation fault might occur in a worker process if
48+
different large_client_header_buffers sizes were used in different
49+
virtual servers.
50+
51+
*) Bugfix: SSL shutdown might not work.
52+
53+
*) Bugfix: "SSL_shutdown() failed (SSL: ... bad write retry)" messages
54+
might appear in logs.
55+
56+
*) Bugfix: in the ngx_http_slice_module.
57+
58+
*) Bugfix: in the ngx_http_xslt_filter_module.
59+
60+
61+
Changes with nginx 1.19.1 07 Jul 2020
62+
63+
*) Change: the "lingering_close", "lingering_time", and
64+
"lingering_timeout" directives now work when using HTTP/2.
65+
66+
*) Change: now extra data sent by a backend are always discarded.
67+
68+
*) Change: now after receiving a too short response from a FastCGI
69+
server nginx tries to send the available part of the response to the
70+
client, and then closes the client connection.
71+
72+
*) Change: now after receiving a response with incorrect length from a
73+
gRPC backend nginx stops response processing with an error.
74+
75+
*) Feature: the "min_free" parameter of the "proxy_cache_path",
76+
"fastcgi_cache_path", "scgi_cache_path", and "uwsgi_cache_path"
77+
directives.
78+
Thanks to Adam Bambuch.
79+
80+
*) Bugfix: nginx did not delete unix domain listen sockets during
81+
graceful shutdown on the SIGQUIT signal.
82+
83+
*) Bugfix: zero length UDP datagrams were not proxied.
84+
85+
*) Bugfix: proxying to uwsgi backends using SSL might not work.
86+
Thanks to Guanzhong Chen.
87+
88+
*) Bugfix: in error handling when using the "ssl_ocsp" directive.
89+
90+
*) Bugfix: on XFS and NFS file systems disk cache size might be
91+
calculated incorrectly.
92+
93+
*) Bugfix: "negative size buf in writer" alerts might appear in logs if
94+
a memcached server returned a malformed response.
95+
96+
297
Changes with nginx 1.19.0 26 May 2020
398

499
*) Feature: client certificate validation with OCSP.

CHANGES.ru

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

2+
Изменения в nginx 1.19.3 29.09.2020
3+
4+
*) Добавление: модуль ngx_stream_set_module.
5+
6+
*) Добавление: директива proxy_cookie_flags.
7+
8+
*) Добавление: директива userid_flags.
9+
10+
*) Исправление: расширение управления кэшированием stale-if-error
11+
ошибочно применялось, если бэкенд возвращал ответ с кодом 500, 502,
12+
503, 504, 403, 404 или 429.
13+
14+
*) Исправление: если использовалось кэширование и бэкенд возвращал
15+
ответы с строкой заголовка Vary, в логах могли появляться сообщения
16+
"[crit] cache file ... has too long header".
17+
18+
*) Изменение: при использовании OpenSSL 1.1.1 в логах могли появляться
19+
сообщения "[crit] SSL_write() failed".
20+
21+
*) Исправление: в логах могли появляться сообщения "SSL_shutdown()
22+
failed (SSL: ... bad write retry)"; ошибка появилась в 1.19.2.
23+
24+
*) Исправление: при использовании HTTP/2 в рабочем процессе мог
25+
произойти segmentation fault, если ошибки с кодом 400 с помощью
26+
директивы error_page перенаправлялись в проксируемый location.
27+
28+
*) Исправление: утечки сокетов при использовании HTTP/2 и подзапросов в
29+
модуле njs.
30+
31+
32+
Изменения в nginx 1.19.2 11.08.2020
33+
34+
*) Изменение: теперь nginx начинает закрывать keepalive-соединения, не
35+
дожидаясь исчерпания всех свободных соединений, а также пишет об этом
36+
предупреждение в лог ошибок.
37+
38+
*) Изменение: оптимизация чтения тела запроса при использовании chunked
39+
transfer encoding.
40+
41+
*) Исправление: утечки памяти при использовании директивы ssl_ocsp.
42+
43+
*) Исправление: в логах могли появляться сообщения "zero size buf in
44+
output", если FastCGI-сервер возвращал некорректный ответ; ошибка
45+
появилась в 1.19.1.
46+
47+
*) Исправление: в рабочем процессе мог произойти segmentation fault,
48+
если размеры large_client_header_buffers отличались в разных
49+
виртуальных серверах.
50+
51+
*) Исправление: SSL shutdown мог не работать.
52+
53+
*) Исправление: в логах могли появляться сообщения "SSL_shutdown()
54+
failed (SSL: ... bad write retry)".
55+
56+
*) Исправление: в модуле ngx_http_slice_module.
57+
58+
*) Исправление: в модуле ngx_http_xslt_filter_module.
59+
60+
61+
Изменения в nginx 1.19.1 07.07.2020
62+
63+
*) Изменение: директивы lingering_close, lingering_time и
64+
lingering_timeout теперь работают при использовании HTTP/2.
65+
66+
*) Изменение: теперь лишние данные, присланные бэкендом, всегда
67+
отбрасываются.
68+
69+
*) Изменение: теперь при получении слишком короткого ответа от
70+
FastCGI-сервера nginx пытается отправить клиенту доступную часть
71+
ответа, после чего закрывает соединение с клиентом.
72+
73+
*) Изменение: теперь при получении ответа некорректной длины от
74+
gRPC-бэкенда nginx прекращает обработку ответа с ошибкой.
75+
76+
*) Добавление: параметр min_free в директивах proxy_cache_path,
77+
fastcgi_cache_path, scgi_cache_path и uwsgi_cache_path.
78+
Спасибо Adam Bambuch.
79+
80+
*) Исправление: nginx не удалял unix domain listen-сокеты при плавном
81+
завершении по сигналу SIGQUIT.
82+
83+
*) Исправление: UDP-пакеты нулевого размера не проксировались.
84+
85+
*) Исправление: проксирование на uwsgi-бэкенды с использованием SSL
86+
могло не работать.
87+
Спасибо Guanzhong Chen.
88+
89+
*) Исправление: в обработке ошибок при использовании директивы ssl_ocsp.
90+
91+
*) Исправление: при использовании файловых систем XFS и NFS размер кэша
92+
на диске мог считаться некорректно.
93+
94+
*) Исправление: если сервер memcached возвращал некорректный ответ, в
95+
логах могли появляться сообщения "negative size buf in writer".
96+
97+
298
Изменения в nginx 1.19.0 26.05.2020
399

4100
*) Добавление: проверка клиентских сертификатов с помощью OCSP.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
오픈소스로 개발 된 소스를 HostLSH 서버에 맞게 수정하였으므로,<br>
88
HostLSH 서버 외에서는 사용하기에 부적합 할 수 있습니다.
99

10-
최근 버전 : 1.19.0
10+
최근 버전 : 1.19.3
1111

1212
# 설치방법 및 업데이트 방법
1313
```sh

auto/modules

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,16 @@ if [ $STREAM != NO ]; then
11191119
. auto/module
11201120
fi
11211121

1122+
if [ $STREAM_SET = YES ]; then
1123+
ngx_module_name=ngx_stream_set_module
1124+
ngx_module_deps=
1125+
ngx_module_srcs=src/stream/ngx_stream_set_module.c
1126+
ngx_module_libs=
1127+
ngx_module_link=$STREAM_SET
1128+
1129+
. auto/module
1130+
fi
1131+
11221132
if [ $STREAM_UPSTREAM_HASH = YES ]; then
11231133
ngx_module_name=ngx_stream_upstream_hash_module
11241134
ngx_module_deps=

auto/options

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ STREAM_GEOIP=NO
124124
STREAM_MAP=YES
125125
STREAM_SPLIT_CLIENTS=YES
126126
STREAM_RETURN=YES
127+
STREAM_SET=YES
127128
STREAM_UPSTREAM_HASH=YES
128129
STREAM_UPSTREAM_LEAST_CONN=YES
129130
STREAM_UPSTREAM_RANDOM=YES
@@ -324,6 +325,7 @@ use the \"--with-mail_ssl_module\" option instead"
324325
--without-stream_split_clients_module)
325326
STREAM_SPLIT_CLIENTS=NO ;;
326327
--without-stream_return_module) STREAM_RETURN=NO ;;
328+
--without-stream_set_module) STREAM_SET=NO ;;
327329
--without-stream_upstream_hash_module)
328330
STREAM_UPSTREAM_HASH=NO ;;
329331
--without-stream_upstream_least_conn_module)
@@ -538,6 +540,7 @@ cat << END
538540
--without-stream_split_clients_module
539541
disable ngx_stream_split_clients_module
540542
--without-stream_return_module disable ngx_stream_return_module
543+
--without-stream_set_module disable ngx_stream_set_module
541544
--without-stream_upstream_hash_module
542545
disable ngx_stream_upstream_hash_module
543546
--without-stream_upstream_least_conn_module

conf/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ http {
2929

3030
#keepalive_timeout 0;
3131
keepalive_timeout 65;
32-
32+
3333
# https://blog.lael.be/post/5917 => modify
3434
# gzip start
3535
gzip on;

0 commit comments

Comments
 (0)