Opensourcetechブログ

OpensourcetechによるNGINX/Kubernetes/Zabbix/Neo4j/Linuxなどオープンソース技術に関するブログです。

nginx mainline 1.21.4 released.

LinuCエヴァンジェリストの鯨井貴博@opensourcetechです。

nginx mainline の最新バージョン、1.21.4がリリースされました。
f:id:opensourcetech:20211105022345p:plain:w400
http://nginx.org/


更新内容は、以下の通り。
http://nginx.org/en/CHANGES

Changes with nginx 1.21.4                                        02 Nov 2021

*) Change: support for NPN instead of ALPN to establish HTTP/2 connections has been removed.
*) Change: now nginx rejects SSL connections if ALPN is used by the client, but no supported protocols can be negotiated.
*) Change: the default value of the "sendfile_max_chunk" directive was changed to 2 megabytes.
*) Feature: the "proxy_half_close" directive in the stream module.
*) Feature: the "ssl_alpn" directive in the stream module.
*) Feature: the $ssl_alpn_protocol variable.
*) Feature: support for SSL_sendfile() when using OpenSSL 3.0.
*) Feature: the "mp4_start_key_frame" directive in the ngx_http_mp4_module. Thanks to Tracey Jaquith.
*) Bugfix: in the $content_length variable when using chunked transfer encoding.
*) Bugfix: after receiving a response with incorrect length from a proxied backend nginx might nevertheless cache the connection. Thanks to Awdhesh Mathpal.
*) Bugfix: invalid headers from backends were logged at the "info" level instead of "error"; the bug had appeared in 1.21.1.
*) Bugfix: requests might hang when using HTTP/2 and the "aio_write" directive.



日本語訳は、以下となります。

Changes with nginx 1.21.4                                        02 Nov 2021

*)変更:HTTP/2接続を確立するためのALPNではなくNPNのサポートが削除されました。
*)変更:クライアントがALPNを使用している場合、nginxはSSL接続を拒否しますが、サポートされているプロトコルはネゴシエートできません。
*)変更:"sendfile_max_chunk"ディレクティブのデフォルト値が2 MBに変更されました。
*)機能追加:ストリームモジュール内の"proxy_half_close"ディレクティブ。
*)機能追加:ストリームモジュール内の"ssl_alpn"ディレクティブ。
*)機能追加:$ssl_alpn_protocol変数。
*)機能追加:OpenSSL 3.0使用時のSSL_sendfile()のサポート。
*)機能追加:ngx_http_mp4_moduleの"mp4_start_key_frame"ディレクティブ。Tracey Jaquithに感謝します。
*)バグ修正:チャンク転送エンコーディングを使用する場合の$content_length変数。
*)バグ修正:プロキシされたバックエンドから不正な長さの応答を受信した後に、nginxが接続をキャッシュ可能性がありました。Awdhesh・Mathpalのおかげです。
*)バグ修正:バックエンドからの無効なヘッダが"error"ではなく"info"レベルでログに記録されました;バグは1.21.1で現れました。
*)バグ修正:HTTP/2と"aio_write"ディレクティブを使用すると、要求がハングする可能性がありました。



利用中の方は、最新版への更新を忘れずに!

Opensourcetech by Takahiro Kujirai