Release of nginx 1.19.1 and njs 0.4.2

Introduced release of the new main branch nginx 1.19.1, within which new features are being developed. In the concurrently supported stable branch 1.18.x only changes related to fixing serious bugs and vulnerabilities are made. Next year, based on the main branch 1.19.x, a stable branch 1.20 will be formed.

Key changes:

  • In the directives "proxy_cache_path«,
    "fastcgi_cache_path", "scgi_cache_path", and "uwsgi_cache_path" a parameter "min_free" has been added, regulating the size of the cache based on the definition of the minimum size of free disk space.
  • The directives "lingering_close", "lingering_time" and "lingering_timeout" have been adapted to work with HTTP/2.
  • It ensures the rejection of all unnecessary data sent by the backend.
  • Upon receiving a very short response from the FastCGI server, Nginx now attempts to send the available part of the response to the client, after which it closes the connection.
  • If a gRPC response with incorrect length is received from the backend, Nginx stops processing the request with an error output.
  • Errors have been fixed, such as ensuring the removal of listening Unix sockets when handling the SIGQUIT signal, establishing UDP packet proxying of zero size, and proxying to uwsgi backends when using SSL, corrections made in error handling with the "ssl_ocsp" directive, and fixing incorrect cache size calculations in XFS and NFS.

Simultaneously the release njs 0.4.2, a JavaScript language interpreter for the nginx web server. The njs interpreter implements ECMAScript standards and allows extending nginx functionalities for handling requests using scripts in the configuration. Scripts can be used in the configuration file to define advanced logic for request processing, configuration formation, dynamic response generation, request/response modification, or quickly creating stubs to troubleshoot web applications. The new version includes support for RegExp.prototype[Symbol.replace] and %TypedArray%.prototype.sort(). The ability for line-by-line backtracing is introduced. Functions similar to mkdir(), readdir(), and rmdir() have been added to the "fs" module.

Moreover, in the Ministry of Internal Affairs of the Russian Federation received Confirmation of information about the termination of the criminal case regarding the rights to the Nginx software, as well as the completion of the review of the decision by the supervising prosecutor's office. "The criminal case, initiated on 04.12.2019 on the grounds of copyright infringement by Rambler Internet Holding LLC in the development of the Nginx software, was terminated on 18.05.2020 under paragraph 1, part 1, article 24 of the Criminal Procedure Code of the Russian Federation (due to the absence of a crime)." Previously announced the termination of the criminal case. reported Igor Sysoev, the author of Nginx, but there remains a possibility of this decision being overturned by supervisory authorities. Meanwhile, in a court in the USA, the related litigation over the rights to Nginx against F5 Networks, initiated after a lawsuit was filed by the law firm Lynwood Investments.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster