Release of nginx 1.19.1 and njs 0.4.2

Submitted by releasing a new master branch nginx 1.19.1, within which new opportunities are being developed. In a parallel supported stable branch 1.18.x only changes related to the elimination of serious errors and vulnerabilities are made. Next year, the 1.19 stable branch will be formed from the 1.20.x main branch.

All changes:

  • In the directivesproxy_cache_path",
    "fastcgi_cache_path", "scgi_cache_path" and "uwsgi_cache_path" added parameter "min_free", adjusting the size of the cache based on the definition of the minimum amount of free disk space.

  • Directives Β«lingering_close", "lingering_time" and "lingering_timeout" are adapted to work with HTTP/2.
  • Provided rejection of all unnecessary data sent by the backend.
  • When receiving a very short response from the FastCGI server, Nginx now tries to send the available part of the response to the client, and then closes the connection.
  • When receiving an incorrect length response from the gRPC backend, Nginx stops processing the request with an error.
  • Fixed bugs, for example, ensured the removal of listening Unix sockets when processing the SIGQUIT signal, set up proxying of UDP packets of zero size and proxying to uwsgi backends when using SSL, fixed error handling when using the "ssl_ocsp" directive, fixed incorrect calculation of the cache size in the XFS FS and NFS.

Simultaneously took place issue njs 0.4.2, a JavaScript interpreter for the nginx web server. The njs interpreter implements the ECMAScript standards and allows you to extend nginx's ability to process requests using scripts in the configuration. Scripts can be used in a configuration file to define advanced request processing logic, generate a configuration, dynamically generate a response, modify a request/response, or quickly create problem-solving stubs in web applications. The new version adds support for RegExp.prototype[Symbol.replace] and %TypedArray%.prototype.sort(). Introduced the possibility of line-by-line back tracing. Functions like mkdir(), readdir() and rmdir() have been added to the "fs" module.

In addition, the Ministry of Internal Affairs of the Russian Federation received confirmation of information about the termination of the criminal case on the rights to the Nginx software, as well as the completion of the verification of the decision by the supervising prosecutor's office. β€œThe specified criminal case, initiated on 04.12.2019/18.05.2020/1 on the fact of copyright infringement of Rambler Internet Holding LLC in the development of the Nginx software, was terminated on 1/24/XNUMX under clause XNUMX, part XNUMX, art. XNUMX of the Code of Criminal Procedure of the Russian Federation (due to the absence of corpus delicti)”. Earlier on the termination of the criminal case сообщил Igor Sysoev, the author of Nginx, but there was a possibility that this decision would be canceled by the supervisory authorities. However, in a US court continues Nginx rights-related litigation against F5 Networks following a lawsuit filed by law firm Lynwood Investments.

Source: opennet.ru

Add a comment