2598:d431669a493a | 17-Nov-2023 |
Andrei Zeliankou |
Node.js: ServerResponse.flushHeaders() implemented.
This closes #1006 issue on GitHub.
Reviewed-by: Andrew Clayton <a.clayton@nginx.com> |
2592:e079c44a8340 | 08-Nov-2023 |
Andrei Zeliankou |
Tests: 8XXX used as default port range.
After the launch of the project, the testing infrastructure was shared with nginx project in some cases. To avoid port overlap, a decision was made to shift
Tests: 8XXX used as default port range.
After the launch of the project, the testing infrastructure was shared with nginx project in some cases. To avoid port overlap, a decision was made to shift the port range for Unit tests. This problem was resolved a long time ago and is no longer relevant, so it is now safe to use port 8XXX range as the default, as it is more appropriate for testing purposes.
show more ...
|
Revision tags: 1.31.1-1, 1.31.1 |
|
2559:a5edcf1bf614 | 25-Sep-2023 |
Andrei Zeliankou |
Node.js: response body chunk can now be a Uint8Array.
Starting from Node.js 15.0.0 the chunk parameter of the response.write() can be a Uint8Array.
This closes #870 issue on GitHub. |
Revision tags: 1.31.0-1, 1.31.0, 1.30.0-1, 1.30.0, 1.29.1-1, 1.29.1, 1.29.0-1, 1.29.0, 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0, 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0 |
|
1876:f85b85094541 | 24-May-2021 |
Oisin Canty |
Node.js: renamed "require_shim" to "loader". |
1865:3c551b9721df | 12-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 ...
|
Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0 |
|
1130:020fa3fb48f8 | 22-Aug-2019 |
Andrey Zelenkov |
Tests: Node.js websockets. |
1114:6d87da79ec4e | 06-Aug-2019 |
Valentin Bartenev |
Node.js: returning "this" from writeHead() to allow chaining.
In Node.js version 11.10.0 and later, the writeHead() function returns "this". |
Revision tags: 1.9.0-1, 1.9.0 |
|
1039:9859b789a2c2 | 18-Apr-2019 |
Andrey Zelenkov |
Tests: using low-case header names in Node.js tests. |
Revision tags: 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1 |
|
896:52a353327b3f | 25-Dec-2018 |
Andrey Zelenkov |
Tests: test_node_application_write_before_writeHead reworked.
Added res.end() call in application and response status check. Also, renamed to test_node_application_write_before_write_head. |
Revision tags: 1.7-1, 1.7 |
|
866:e4ff38dba88c | 11-Dec-2018 |
Andrey Zelenkov |
Tests: more Node.js tests. |
864:5ebd6964fb93 | 04-Dec-2018 |
Andrey Zelenkov |
Tests: fixed test_node_application_write_callback.
Fixed the write() callback order test. Also introduced a separate test to verify the callback call itself. |
855:f143c7953df7 | 25-Oct-2018 |
Sergey Kandaurov |
Tests: Node.js application tests. |