Opensourcetechブログ

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

nginx mainline 1.19.7 released.


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

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

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

Changes with nginx 1.19.7                                        16 Feb 2021

*) Change: connections handling in HTTP/2 has been changed to better match HTTP/1.x; 
   the "http2_recv_timeout", "http2_idle_timeout", and "http2_max_requests" directives have been removed, 
   the "keepalive_timeout" and "keepalive_requests" directives should be used instead.
*) Change: the "http2_max_field_size" and "http2_max_header_size" directives have been removed, 
   the "large_client_header_buffers" directive should be used instead.
*) Feature: now, if free worker connections are exhausted, nginx starts closing not only keepalive connections, 
   but also connections in lingering close.
*) Bugfix: "zero size buf in output" alerts might appear in logs if an upstream server returned an incorrect response during unbuffered proxying; 
   the bug had appeared in 1.19.1.
*) Bugfix: HEAD requests were handled incorrectly if the "return" directive was used with the "image_filter" or "xslt_stylesheet" directives.
*) Bugfix: in the "add_trailer" directive.



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

Changes with nginx 1.19.7                                        16 Feb 2021

*)変更: HTTP/2での接続処理がHTTP/1.xとより一致するように変更されました。
       "http2_recv_timeout"、"http2_idle_timeout"および"http2_max_requests"ディレクティブが削除されました。
        代わりに"keepalive_timeout"および"keepalive_requests"ディレクティブを使用してください。
*)変更: "http2_max_field_size"および"http2_max_header_size"ディレクティブが削除されました。
        代わりに"large_client_header_buffers"ディレクティブを使用してください。
*)機能追加: 空きワーカー接続が使い果たされると、nginxはキープアライブ接続だけでなく、接続の閉じ始めます。
*)バグ修正: "zero size buf in output"アラートは、バッファーされていないプロキシ処理中にアップストリームサーバが誤った応答を返した場合にログに表示されることがありました。このバグは1.19.1年に発生しています。
*)バグ修正: "return"ディレクティブが"image_filter"または"xslt_stylesheet"ディレクティブとともに使用された場合、HEAD要求が正しく処理されませんでした。
*)バグ修正: "add_trailer"ディレクティブ



削除されてる以下のディレクティブを使用している方は、注意が必要です。
"http2_recv_timeout", "http2_idle_timeout", "http2_max_requests", "http2_max_field_size", "http2_max_header_size"

Opensourcetech by Takahiro Kujirai