Release of nginx 1.19.2 and njs 0.4.3

Formed master branch release nginx 1.19.2, within which the development of new features continues (in a parallel supported stable branch 1.18 only changes related to the elimination of serious errors and vulnerabilities are made).

All changes:

  • Keepalive connections now start closing before all available connections are exhausted, and appropriate warnings are displayed in the log.
  • When using chunked transfer, the optimization of reading the client request body is implemented.
  • Fixed a memory leak that occurred when using the "ssl_ocsp" directive.
  • Fixed a problem that appeared in the last release with outputs to the log messages "zero size buf in output" when an incorrect response is returned by the FastCGI server.
  • Fixed a workflow crash that occurred when setting different sizes of large_client_header_buffers in different virtual servers.
  • The problem with incorrect termination of SSL connections and output to the log of warnings "SSL_shutdown() failed (SSL: ... bad write retry)" has been fixed.
  • Fixed bugs in ngx_http_slice_module and ngx_http_xslt_filter_module modules.

Simultaneously took place issue njs 0.4.3, 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. In the new version:

  • Added Query String module with functions for parsing a string with HTTP request parameters.
  • The fs.mkdir() and fs.rmdir() functions now support the recursive creation and deletion of directories.
  • Added UTF-8 decoder.
  • Implemented support for TextEncoder and TextDecoder to convert between character codes and their Unicode representation. (eg: "(new TextDecoder()).decode(new Uint8Array([206,177,206,178]))".

Source: opennet.ru

Add a comment