History log of /unit/docs/ (Results 101 – 125 of 204)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1907:75ddb2d89b4201-Jul-2021 Max Romanov

Fixing memory and descriptor leakage in case of port send failure.

In rare cases, when the destination process had finished running but no
notification of this was received yet, send could fail with

Fixing memory and descriptor leakage in case of port send failure.

In rare cases, when the destination process had finished running but no
notification of this was received yet, send could fail with an error, and the
send message structure with file descriptors could leak.

The leakage was periodically reproduced by respawn tests on FreeBSD 12.

show more ...

1904:da7a4754f8bd01-Jul-2021 Max Romanov

Fixing multiple TLS-enabled listeners initialization.

Because of the incorrect 'last' field assignment, multiple listeners with
a TLS certificate did not initialize properly, which caused a router c

Fixing multiple TLS-enabled listeners initialization.

Because of the incorrect 'last' field assignment, multiple listeners with
a TLS certificate did not initialize properly, which caused a router crash
while establishing a connection.

Test with multiple TLS listeners added.

The issue was introduced in the c548e46fe516 commit.

This closes #561 issue on GitHub.

show more ...

1896:19eee884bd0b28-May-2021 Valentin Bartenev

Version bump.

Revision tags: 1.24.0-1, 1.24.0
1891:5ae5e6619af927-May-2021 Valentin Bartenev

Added version 1.24.0 CHANGES.

1890:b55d63dc55f927-May-2021 Valentin Bartenev

Reordered changes for 1.24.0 by significance (subjective).

1889:04126d0d9d5927-May-2021 Artem Konev

Grammar fixes and improvements in changes.xml.

1887:0a32914bf7bf27-May-2021 Andrei Belov

Packages: added Ubuntu 21.04 "hirsute" support.

1885:09b857a2cca926-May-2021 Andrey Suvorov

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,
"

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.

show more ...

1884:4645a43bc24826-May-2021 Andrey Suvorov

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 SS

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.

show more ...

1882:65e7dcdd7be426-May-2021 Oisin Canty

MIME: added PHP.

1876:f85b8509454124-May-2021 Oisin Canty

Node.js: renamed "require_shim" to "loader".

1872:9f8df8b810e020-May-2021 Oisin Canty

Python: support for multiple targets.

1870:6a68fb236f5b18-May-2021 Oisin Canty

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 don

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)."

show more ...

1865:3c551b9721df12-May-2021 Oisin Canty

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

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"
]
}

show more ...


changes.xml
/unit/src/nodejs/unit-http/http.js
/unit/src/nodejs/unit-http/http_server.js
/unit/src/nodejs/unit-http/require_shim.js
/unit/src/nodejs/unit-http/require_shim.mjs
/unit/test/node/404/app.js
/unit/test/node/basic/app.js
/unit/test/node/double_end/app.js
/unit/test/node/get_header_names/app.js
/unit/test/node/get_header_type/app.js
/unit/test/node/get_variables/app.js
/unit/test/node/has_header/app.js
/unit/test/node/header_name_case/app.js
/unit/test/node/header_name_valid/app.js
/unit/test/node/header_value_object/app.js
/unit/test/node/mirror/app.js
/unit/test/node/post_variables/app.js
/unit/test/node/promise_end/app.js
/unit/test/node/promise_handler/app.js
/unit/test/node/remove_header/app.js
/unit/test/node/require_shim/es_modules_http/app.mjs
/unit/test/node/require_shim/es_modules_http_indirect/app.js
/unit/test/node/require_shim/es_modules_http_indirect/module.mjs
/unit/test/node/require_shim/es_modules_websocket/app.mjs
/unit/test/node/require_shim/es_modules_websocket_indirect/app.js
/unit/test/node/require_shim/es_modules_websocket_indirect/module.mjs
/unit/test/node/require_shim/transitive_dependency/app.js
/unit/test/node/require_shim/transitive_dependency/transitive_http.js
/unit/test/node/require_shim/unit_http/app.js
/unit/test/node/set_header_array/app.js
/unit/test/node/status_message/app.js
/unit/test/node/update_header/app.js
/unit/test/node/variables/app.js
/unit/test/node/websockets/mirror/app.js
/unit/test/node/websockets/mirror_fragmentation/app.js
/unit/test/node/write_before_write_head/app.js
/unit/test/node/write_buffer/app.js
/unit/test/node/write_callback/app.js
/unit/test/node/write_multiple/app.js
/unit/test/node/write_return/app.js
/unit/test/test_node_application.py
/unit/test/test_node_es_modules.py
/unit/test/unit/applications/lang/node.py
/unit/test/unit/check/node.py
1861:570b306cc70807-May-2021 Valentin Bartenev

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

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.

show more ...

1859:970f9f72c29d06-May-2021 Oisin Canty

Static: implemented MIME filtering

1855:a946d8cd7f8c29-Apr-2021 Zhidao HONG

Static: support for openat2() features.

Support for chrooting, rejecting symlinks, and rejecting crossing mounting
points on a per-request basis during static file serving.

1839:953b8f1dd27826-Mar-2021 Valentin Bartenev

Version bump.

Revision tags: 1.23.0-1, 1.23.0
1834:84a836199eb925-Mar-2021 Valentin Bartenev

Added version 1.23.0 CHANGES.

1833:73fb05c8600325-Mar-2021 Artem Konev

Fixed wording in docs/changes.xml for the 1.23.0 release.

1832:7618b95f9cd225-Mar-2021 Max Romanov

Fixing shm buffer leakage when sending over the port queue.

When the shm buffer is sent over the port queue, it needs to be completed
because it's sent over the port socket.

1828:c548e46fe51624-Mar-2021 Andrey Suvorov

Added ability to configure multiple certificates on a listener.

The certificate is selected by matching the arriving SNI to the common name and
the alternatives names. If no certificate matches the

Added ability to configure multiple certificates on a listener.

The certificate is selected by matching the arriving SNI to the common name and
the alternatives names. If no certificate matches the name, the first bundle in
the array is chosen.

show more ...

1825:8d0b26746b0224-Mar-2021 Konstantin Pavlov

Added build system support for a man page.

1824:e4a48cdb5d0724-Mar-2021 Artem Konev

Added a missing .El directive in man page source.

1823:4425e79082a624-Mar-2021 Artem Konev

Added a man page.

Reviewed at https://rb.nginx.com/r/165/

123456789