From 1ef72a79fe73acdbef53e3a0bd0946713495028c Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Fri, 26 Mar 2021 11:29:41 +0300 Subject: Version bump. --- docs/changes.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 7656c15a..c1fcc466 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -5,6 +5,35 @@ + + + + +NGINX Unit updated to 1.24.0. + + + + + + + + + + + + + +support for chrooting, rejecting symlinks, and rejecting crossing mounting +points on a per-request basis during static file serving. + + + -- cgit From b9d5eb285a2fca8b9b60d948acc679a5e16b3f94 Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Thu, 6 May 2021 14:22:21 +0000 Subject: Static: implemented MIME filtering --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 0858c2da..3d4fc698 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -31,6 +31,12 @@ NGINX Unit updated to 1.24.0. date="" time="" packager="Andrei Belov <defan@nginx.com>"> + + +ability to limit serving of static files by MIME types. + + + support for chrooting, rejecting symlinks, and rejecting crossing mounting -- cgit From b0e32bc015f8eb146e745b7184549e15c6657f85 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Fri, 7 May 2021 07:46:25 +0300 Subject: PHP: forced initialization of $_SERVER in fastcgi_finish_request(). The "auto_globals_jit" PHP option postponed the initialization of the $_SERVER global variable until the script using it had been loaded (e. g. via the "include" expression). As a result, nxt_php_register_variables() could be called after fastcgi_finish_request() had finished the request and nulled ctx->req, which thus caused a segmentation fault. --- docs/changes.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 3d4fc698..e2cb4f1d 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -44,6 +44,13 @@ points on a per-request basis during static file serving. + + +a segmentation fault might have occurred in the PHP module if +fastcgi_finish_request() was used with the "auto_globals_jit" option enabled. + + + -- cgit From a0c083af208cd9f676bb56762b4e27a3174a773d Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Wed, 12 May 2021 09:26:55 +0000 Subject: Node.js: a shim for overriding "http" and "websocket" modules. Also added stubs for Server.address() This was done to prevent crashes in some popular frameworks like express Supports both CommonJS and the new ES Modules system syntax e.g: app.js: const http = require('http') app.mjs: import http from "http" Usage on Node 14.16.x and higher: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--loader", "unit-http/require_shim.mjs" "--require", "unit-http/require_shim", "app.js" ] } Usage on Node 14.15.x and lower: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--require", "unit-http/require_shim", "app.js" ] } --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index e2cb4f1d..c69523f9 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -31,6 +31,12 @@ NGINX Unit updated to 1.24.0. date="" time="" packager="Andrei Belov <defan@nginx.com>"> + + +a shim for automatic overriding "http" and "websocket" modules in Node.js. + + + ability to limit serving of static files by MIME types. -- cgit From ead6ed999a87fac6fc9ad3f4f94a6cec1d287b5e Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Tue, 18 May 2021 10:14:43 +0000 Subject: Ruby: changing deprecated rb_cData to rb_cObject. Ruby 3.0 deprecated rb_cData with the intention to remove it in release 3.1. This commit changes references of rb_cData to rb_cObject. This was done so we can support distributions that package Ruby 3.0, such as Fedora 34. We also need to call rb_undef_alloc_func because we're no longer deriving from rb_cData. This prevents unnecessary allocations. See: https://docs.ruby-lang.org/en/3.0.0/doc/extension_rdoc.html "It is recommended that klass derives from a special class called Data (rb_cData) but not from Object or other ordinal classes. If it doesn't, you have to call rb_undef_alloc_func(klass)." --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index c69523f9..a4db9ec5 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -50,6 +50,12 @@ points on a per-request basis during static file serving. + + +compatibility with Ruby 3.0. + + + a segmentation fault might have occurred in the PHP module if -- cgit From f60389a782470e31dc555ab864784b536f2544ca Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Thu, 20 May 2021 13:02:45 +0000 Subject: Python: support for multiple targets. --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index a4db9ec5..528ab483 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -31,6 +31,12 @@ NGINX Unit updated to 1.24.0. date="" time="" packager="Andrei Belov <defan@nginx.com>"> + + +multiple "targets" in Python applications. + + + a shim for automatic overriding "http" and "websocket" modules in Node.js. -- cgit From c160ea11e4ece4db52731ac8b83dd09ca2d1ef11 Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Mon, 24 May 2021 09:01:42 +0000 Subject: Node.js: renamed "require_shim" to "loader". --- docs/changes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 528ab483..58181173 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -39,7 +39,7 @@ multiple "targets" in Python applications. -a shim for automatic overriding "http" and "websocket" modules in Node.js. +a loader for automatic overriding "http" and "websocket" modules in Node.js. -- cgit From 81e31872e3d05c912551dbf1382e3c78f4f65f4b Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Wed, 26 May 2021 16:48:05 +0000 Subject: MIME: added PHP. --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 58181173..5717f1bd 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -31,6 +31,12 @@ NGINX Unit updated to 1.24.0. date="" time="" packager="Andrei Belov <defan@nginx.com>"> + + +PHP added to the default MIME type list. + + + multiple "targets" in Python applications. -- cgit From 3efffddd95e564fe10f59e1de45afc2b551a5cba Mon Sep 17 00:00:00 2001 From: Andrey Suvorov Date: Wed, 26 May 2021 11:11:58 -0700 Subject: Fixing crash during TLS connection shutdown. A crash was caused by an incorrect timer handler nxt_h1p_idle_timeout() if SSL_shutdown() returned SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. The flag SSL_RECEIVED_SHUTDOWN is used to avoid getting SSL_ERROR_WANT_READ, so the server won't wait for a close notification from a client. For SSL_ERROR_WANT_WRITE, a correct timer handler is set up. --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 5717f1bd..cbe6269a 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -68,6 +68,12 @@ compatibility with Ruby 3.0. + + +the router process could crash while closing TLS connection. + + + a segmentation fault might have occurred in the PHP module if -- cgit From 3f7ccf142ff4d1a11b807a344bcb1e3cb6c3284b Mon Sep 17 00:00:00 2001 From: Andrey Suvorov Date: Wed, 26 May 2021 11:19:47 -0700 Subject: Enabling SSL_CTX configuration by using SSL_CONF_cmd(). To perform various configuration operations on SSL_CTX, OpenSSL provides SSL_CONF_cmd(). Specifically, to configure ciphers for a listener, "CipherString" and "Ciphersuites" file commands are used: https://www.openssl.org/docs/man1.1.1/man3/SSL_CONF_cmd.html This feature can be configured in the "tls/conf_commands" section. --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index cbe6269a..2dcaf4dd 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -37,6 +37,12 @@ PHP added to the default MIME type list. + + +arbitrary configuration of TLS connections via OpenSSL commands. + + + multiple "targets" in Python applications. -- cgit From e00ad18d8082f9db5c49c220d796c78beab53cae Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 27 May 2021 13:12:52 +0300 Subject: Packages: added Ubuntu 21.04 "hirsute" support. --- docs/changes.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 2dcaf4dd..0a666a3e 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -5,6 +5,32 @@ + + + + +Initial release of Java 17 module for NGINX Unit. + + + + + + + + + + +Initial release of Java 16 module for NGINX Unit. + + + + + + -a loader for automatic overriding "http" and "websocket" modules in Node.js. +a loader for automatically overriding the "http" and "websocket" modules in +Node.js. -ability to limit serving of static files by MIME types. +the ability to limit static file serving by MIME types. -support for chrooting, rejecting symlinks, and rejecting crossing mounting -points on a per-request basis during static file serving. +support for chrooting, rejecting symlinks, and rejecting mount +point traversal on a per-request basis when serving static files. @@ -102,7 +103,7 @@ compatibility with Ruby 3.0. -the router process could crash while closing TLS connection. +the router process could crash while closing a TLS connection. -- cgit From ff15f258390b36d4cccded8576b49e281722495c Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Thu, 27 May 2021 16:05:42 +0300 Subject: Reordered changes for 1.24.0 by significance (subjective). --- docs/changes.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index 27fdca68..ad1526f4 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -71,27 +71,27 @@ arbitrary configuration of TLS connections via OpenSSL commands. -multiple "targets" in Python applications. +the ability to limit static file serving by MIME types. -a loader for automatically overriding the "http" and "websocket" modules in -Node.js. +support for chrooting, rejecting symlinks, and rejecting mount +point traversal on a per-request basis when serving static files. -the ability to limit static file serving by MIME types. +a loader for automatically overriding the "http" and "websocket" modules in +Node.js. -support for chrooting, rejecting symlinks, and rejecting mount -point traversal on a per-request basis when serving static files. +multiple "targets" in Python applications. -- cgit From 340955a75f333a0ccfe8b1d212640a2e0ac3b3e3 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Thu, 27 May 2021 16:06:01 +0300 Subject: Added version 1.24.0 CHANGES. --- docs/changes.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/changes.xml') diff --git a/docs/changes.xml b/docs/changes.xml index ad1526f4..3707194e 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -6,7 +6,7 @@ @@ -19,7 +19,7 @@ Initial release of Java 17 module for NGINX Unit. @@ -41,7 +41,7 @@ Initial release of Java 16 module for NGINX Unit. unit-jsc-common unit-jsc8 unit-jsc10 unit-jsc11 unit-jsc13 unit-jsc14 unit-jsc15" ver="1.24.0" rev="1" - date="" time="" + date="2021-05-27" time="18:00:00 +0300" packager="Andrei Belov <defan@nginx.com>"> @@ -54,7 +54,7 @@ NGINX Unit updated to 1.24.0. -- cgit