Revision tags: 1.32.1-1 |
|
2765:5e31d3ff500a | 27-Feb-2024 |
Dan Callahan |
Merge tag '1.32.0' into branches/packaging
Unit 1.32.0 release. |
2760:d21b2f76865e | 11-Mar-2024 |
Andrei Zeliankou |
Tests: NJS cacheable variables with access log
Reproduces issue https://github.com/nginx/unit/issues/1169. |
Revision tags: 1.32.0-1, 1.32.0 |
|
2700:859302d7f6a5 | 19-Feb-2024 |
Sergey A. Osokin |
Update third-party java components to their recent versions
Acked-by: Timo Stark <t.stark@nginx.com> [ Remove trailing '.' from subject line - Andrew ] Signed-off-by: Andrew Clayton <a.clayton@nginx
Update third-party java components to their recent versions
Acked-by: Timo Stark <t.stark@nginx.com> [ Remove trailing '.' from subject line - Andrew ] Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
show more ...
|
2695:4c9ad19be663 | 07-Feb-2024 |
Andrei Zeliankou |
Tests: renamed test_python_procman.py since it's not Python-specific
Python applications are used only to generate responses here and can be replaced by applications written in any other language.
Tests: renamed test_python_procman.py since it's not Python-specific
Python applications are used only to generate responses here and can be replaced by applications written in any other language. While the "_python" prefix is used to indicate that the file contains tests specific to the Python module.
show more ...
|
2694:c11223916183 | 07-Feb-2024 |
Andrei Zeliankou |
Tests: skip some of TLS reconfiguration tests under AddressSanitizer
These tests cause router crash when run with AddressSanitizer:
=================================================================
Tests: skip some of TLS reconfiguration tests under AddressSanitizer
These tests cause router crash when run with AddressSanitizer:
================================================================= ==77196==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c000079340 at pc 0x55d56b132d4b bp 0x7f8cc7f346b0 sp 0x7f8cc7f346a0 READ of size 1 at 0x60c000079340 thread T1 #0 0x55d56b132d4a in nxt_openssl_conn_io_shutdown src/nxt_openssl.c:1466 #1 0x55d56b0f6a25 in nxt_h1p_closing src/nxt_h1proto.c:2069 #2 0x55d56b1009a6 in nxt_h1p_shutdown src/nxt_h1proto.c:2038 #3 0x55d56b1014c3 in nxt_h1p_request_close src/nxt_h1proto.c:1718 #4 0x55d56b1045c0 in nxt_http_request_close_handler src/nxt_http_request.c:864 #5 0x55d56b104988 in nxt_http_request_done src/nxt_http_request.c:795 #6 0x55d56b0ba0c3 in nxt_event_engine_start src/nxt_event_engine.c:542 #7 0x55d56b0dcac2 in nxt_router_thread_start src/nxt_router.c:3645 #8 0x55d56b0b421b in nxt_thread_trampoline src/nxt_thread.c:126 #9 0x7f8ccab95ac2 (/lib/x86_64-linux-gnu/libc.so.6+0x94ac2) #10 0x7f8ccac2784f (/lib/x86_64-linux-gnu/libc.so.6+0x12684f)
show more ...
|
2693:0b7afe1ba8d8 | 07-Feb-2024 |
Andrei Zeliankou |
Tests: check for the AddressSanitizer flag during discovery
This flag is necessary to either run or skip certain tests that have specific behavior depending on whether AddressSanitizer is enabled.
Tests: check for the AddressSanitizer flag during discovery
This flag is necessary to either run or skip certain tests that have specific behavior depending on whether AddressSanitizer is enabled.
For instance, some tests may fail only when the binary is compiled with AddressSanitizer.
show more ...
|
2692:97b0a59051f1 | 07-Feb-2024 |
Andrei Zeliankou |
Tests: Ruby hook tests unstable for version older 3.0
It can fail with reporting following alert:
[alert] 137462#137462 mount("none", "/tmp/unit-test-636e0uh8/proc", "proc", 2097162, "") (16: Devic
Tests: Ruby hook tests unstable for version older 3.0
It can fail with reporting following alert:
[alert] 137462#137462 mount("none", "/tmp/unit-test-636e0uh8/proc", "proc", 2097162, "") (16: Device or resource busy)
show more ...
|
2674:c055d68bbf43 | 26-Jan-2024 |
Andrei Zeliankou |
Python: bytearray body support for ASGI module.
@filiphanes requested support for bytearray and memoryview in the request body here: <https://github.com/nginx/unit/issues/648>
This patch implements
Python: bytearray body support for ASGI module.
@filiphanes requested support for bytearray and memoryview in the request body here: <https://github.com/nginx/unit/issues/648>
This patch implements bytearray body support only. Memoryview body still need to be implemented.
show more ...
|
2666:cda59a5a20c4 | 17-Jan-2024 |
Andrei Zeliankou |
Tests: NJS request variables |
2642:d92e92c69c5d | 14-Feb-2024 |
Gabor Javorszky |
fix: Take options as well as requestListener (#1091)
* Take options as well as requestListener
Unit-http have not kept up with the signature of nodejs's http package development. Nodejs allows an o
fix: Take options as well as requestListener (#1091)
* Take options as well as requestListener
Unit-http have not kept up with the signature of nodejs's http package development. Nodejs allows an optional `options` object to be passed to the `createServer` function, we didn't. This resulted in function signature errors when user code that did make use of the options arg tried to call unit's replaced function.
This change changes the signature to be more in line with how nodejs does it discarding it and printing a message to stdout.
* Add test file to start node application with options
* Add changes to docs/changes.xml
Closes: https://github.com/nginx/unit/issues/1043
show more ...
|
2627:36afea93a678 | 24-Jan-2024 |
Andrei Zeliankou |
Tests: "if" option in access logging.
Conditional access logging was introduced here: https://github.com/nginx/unit/commit/4c91bebb50d06b28e369d68b23022caa072cf62d |
2623:15a457cb829e | 25-Jan-2024 |
Andrei Zeliankou |
Node.js: fixed "httpVersion" variable format
According to the Node.js documenation this variable should only include numbering scheme.
Thanks to @dbit-xia.
Closes: https://github.com/nginx/unit/is
Node.js: fixed "httpVersion" variable format
According to the Node.js documenation this variable should only include numbering scheme.
Thanks to @dbit-xia.
Closes: https://github.com/nginx/unit/issues/1085
show more ...
|
2618:3ba1a53cba07 | 15-Jan-2024 |
Andrei Zeliankou |
Tests: added Ruby tests with array in header values |
2616:ab2896c980ab | 15-Jan-2024 |
Andrei Zeliankou |
Tests: pathlib used where appropriate
Also fixed various pylint errors and style issues. |
2604:a732c6661312 | 29-Nov-2023 |
Sergey A. Osokin |
Update third-party components for the Java module. |
2600:53b7a9e422b4 | 17-Nov-2023 |
Andrei Zeliankou |
Tests: added more expected Ruby features. |
2599:df47c93ae679 | 17-Nov-2023 |
Andrei Zeliankou |
Tests: Ruby input.rewind is no longer required.
For more information see: https://github.com/rack/rack/commit/42aff22f708123839ba706cbe659d108b47c40c7 |
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 ...
|
2590:909122130e06 | 08-Nov-2023 |
Andrei Zeliankou |
Var: $request_id variable.
This variable contains a string that is formed using random data and can be used as a unique request identifier.
This closes #714 issue on GitHub. |
Revision tags: 1.31.1-1, 1.31.1 |
|
2578:4abe14ad5581 | 17-Oct-2023 |
Sergey A. Osokin |
Update third-party components for the Java module. |
2574:98b67e77114c | 11-Oct-2023 |
Andrei Zeliankou |
Tests: added PHP test with rewrite and query string.
This test reproduces https://github.com/nginx/unit/issues/964. |
2571:59a0b60a5cdb | 10-Oct-2023 |
Sergey A. Osokin |
Update third-party components for the Java module. |
2568:117ca233e225 | 06-Oct-2023 |
Sergey A. Osokin |
Update third-party components for the Java module. |
2563:6c93cbc92821 | 02-Oct-2023 |
Andrei Zeliankou |
Tests: added Java test with multiple headers.
This test reproduce https://github.com/nginx/unit/issues/923. |