Andrei Zeliankou
fcf1628b2c
Merged with the 1.29 branch.
2023-05-10 17:22:28 +01:00
Andrei Zeliankou
03718e0bdf
Added version 1.30.0 CHANGES.
2023-05-10 16:53:01 +01:00
Andrei Zeliankou
ec275200f7
Edited "changes.xml" for the 1.30.0 release.
2023-05-10 16:07:25 +01:00
Andrei Zeliankou
e88e16d11e
Tests: added tests for NJS loadable modules.
2023-05-10 13:02:52 +01:00
Andrei Zeliankou
56af7bb825
Tests: added tests for the URI rewrite.
2023-05-09 13:52:09 +01:00
Andrei Zeliankou
d5382aebb7
Unit 1.29.1 release.
2023-02-28 16:18:19 +00:00
Andrei Zeliankou
0af1253c17
Generated Dockerfiles for Unit 1.29.1.
2023-02-28 14:52:32 +00:00
Andrei Zeliankou
32f9c3d6f9
Added version 1.29.1 CHANGES.
2023-02-28 16:16:27 +00:00
Andrei Zeliankou
8295a0eb08
Changes moved to the correct section.
2023-02-28 16:01:54 +00:00
Andrei Zeliankou
ca9988171b
Added missing fixes in changes.xml.
2023-02-28 13:09:06 +00:00
Andrei Zeliankou
1b7cf1f3d0
Tests: added Python tests with encoding.
2023-02-21 15:35:38 +00:00
Andrei Zeliankou
b24257c8f6
Tests: added tests for the "log_route" option.
2023-03-21 19:20:23 +00:00
Andrei Zeliankou
28bdeec614
Tests: added Perl test with many responses using streaming body.
2023-03-14 11:06:09 +00:00
Andrei Zeliankou
4ed4283cff
Tests: _clear_temp_dir() function introduced.
...
Also added temporary directory clearing after checking available
modules to prevent garbage environment when tests start.
2023-03-07 14:47:39 +00:00
Andrei Zeliankou
814815a3c5
Merged with the 1.29 branch.
2023-03-01 18:25:52 +00:00
Andrei Zeliankou
32c9b8c3cd
Added missing fixes in changes.xml.
2023-02-28 13:42:39 +00:00
Andrei Zeliankou
7934dcabbc
Tests: switched to using f-strings.
...
Previously, it was necessary to support older versions of Python for
compatibility. F-strings were released in Python 3.6. Python 3.5 was
marked as unsupported by the end of 2020, so now it's possible to start
using f-strings safely for better readability and performance.
2023-02-21 17:21:29 +00:00
Andrei Zeliankou
fcabbf09d8
Tests: added Python tests with encoding.
2023-02-21 15:35:38 +00:00
Andrei Zeliankou
7f046c80b9
Tests: removed list usage as default argument.
...
Mutable types as default arguments is bad practice since
they are evaluated only once when the function is defined.
2023-02-21 14:40:47 +00:00
Andrei Zeliankou
05c5639458
Tests: added NJS iteration tests.
2023-01-24 01:12:22 +00:00
Andrei Zeliankou
6dad38f655
Tests: NJS tests reworked.
2023-01-24 01:11:44 +00:00
Andrei Zeliankou
aaba6fdcc9
Version bump.
2022-12-16 12:42:53 +00:00
Andrei Zeliankou
4409a10ff0
Unit 1.29.0 release.
2022-12-15 12:52:00 +00:00
Andrei Zeliankou
87a1a9c0d2
Generated Dockerfiles for Unit 1.29.0.
2022-12-15 12:42:01 +00:00
Andrei Zeliankou
edd7ebaf60
Added version 1.29.0 CHANGES.
2022-12-15 12:32:46 +00:00
Andrei Zeliankou
f65efe73a4
Reordered changes for 1.29.0 by significance (subjective).
2022-12-15 12:30:38 +00:00
Andrei Zeliankou
4b39cb1fc7
Tests: added tests for "path" option in isolation/cgroup.
2022-12-14 19:00:14 +00:00
Andrei Zeliankou
6313cffd26
Tests: added tests for the large header buffer settings.
...
Added tests for the "large_header_buffer_size" and
"large_header_buffers" configuration options.
2022-12-13 14:51:11 +00:00
Andrei Zeliankou
12e2cbae8a
Tests: stop execution if can't unmount any filesystem.
2022-12-12 16:27:02 +00:00
Andrei Zeliankou
648e91a623
Tests: pretty output.
...
Hide expected alerts by default.
Silence succesfull "go build" information.
2022-12-12 16:24:54 +00:00
Andrei Zeliankou
55b9a5307d
Tests: fixed tests to run as privileged user.
2022-12-09 14:17:49 +00:00
Andrei Zeliankou
d862f581db
Node.js: added "shortCircuit" option for ES modules hook.
...
Starting from Node.js v18.6.0 return value from all hooks must have
"shortCircuit: true" option specified. For more information see:
https://github.com/nodejs/node/commit/10bcad5c6e
2022-12-06 14:30:13 +00:00
Andrei Zeliankou
190691ade8
Tests: NJS.
2022-11-29 01:02:08 +00:00
Andrei Zeliankou
b5952edcc6
Version bump.
2023-02-27 19:13:56 +00:00
Andrei Zeliankou
9ea5ed2813
Tests: fixed _check_processes() checks in "--restart" mode.
2022-11-15 01:07:41 +00:00
Andrei Zeliankou
bb11ef694c
Tests: removed migration test.
...
Migration of "share" behaviour was dropped after b57b4749b993.
2022-11-15 00:56:49 +00:00
Andrei Zeliankou
2c2156e236
Tests: fixed assertion in test_variables_dynamic.
2022-11-15 00:42:12 +00:00
Andrei Zeliankou
0d3b31e671
Tests: features and options checks improved.
...
Now version output evaluates only once.
OpenSSL checks more carefully.
2022-11-15 00:39:21 +00:00
Andrei Zeliankou
40d75c94a0
Optimization for the "--no-unix-sockets" case.
2022-11-15 00:17:32 +00:00
Andrei Zeliankou
af5903ff4e
Tests: added tests for the $request_time variable.
2022-10-13 10:13:57 +01:00
Andrei Zeliankou
08dab702cb
Tests: reworked "test_variables.py".
...
Access log used for the variables testing instead of limited routing.
Added missed test for $status variable.
Some tests moved from "test_access_log.py" to "test_variables.py".
2022-10-11 13:49:44 +01:00
Andrei Zeliankou
8e1e047191
Tests: don't try to return response when "no_recv" is True.
2022-10-11 13:49:10 +01:00
Andrei Zeliankou
97fa587c9f
Tests: added test with proxy for status.
2022-09-27 12:08:36 +01:00
Andrei Zeliankou
5354e05b2f
Version bump.
2022-09-19 11:59:59 +01:00
Andrei Zeliankou
0cf0e76a74
Unit 1.28.0 release.
2022-09-13 09:30:30 +01:00
Andrei Zeliankou
38bd7e76a1
Generated Dockerfiles for Unit 1.28.0.
2022-09-13 07:26:26 +08:00
Andrei Zeliankou
a03894df61
Added version 1.28.0 CHANGES.
2022-09-13 09:27:13 +01:00
Andrei Zeliankou
ff9054af10
Reordered changes for 1.28.0 by significance (subjective).
2022-09-13 09:16:55 +01:00
Andrei Zeliankou
ac5c0f1f03
Capitalize "HTTP" in "changes.xml" to match common style.
2022-09-13 00:31:32 +01:00
Andrei Zeliankou
c65e04682e
Tests: minor fixes.
2022-09-07 01:11:04 +01:00
Andrei Zeliankou
b25ffe2bf3
Fixed minor issues in "changes.xml".
2022-09-05 23:55:15 +01:00
Andrei Zeliankou
6915ce1d1c
Tests: added tests for basic statistics.
2022-09-05 23:06:16 +01:00
Andrei Zeliankou
d1cb8ab2bb
Tests: added tests with abstract UNIX sockets.
2022-08-25 15:50:49 +01:00
Andrei Zeliankou
6ddf14a6c1
Tests: added test for ASGI with UNIX socket.
2022-08-16 03:12:12 +01:00
Andrei Zeliankou
c1ae86e930
Fixed UNIX sockets support for ASGI.
...
This change was forgotten in the original implementation 282123ba4f7b.
2022-08-16 03:11:36 +01:00
Andrei Zeliankou
e5d835e159
Tests: added tests with UNIX sockets in "source".
2022-08-08 10:32:24 +01:00
Andrei Zeliankou
698680d894
Tests: added tests for the log format.
...
Also added tests for the following variables:
$request_line, $time_local, $bytes_sent, and $status.
2022-07-28 14:13:03 +01:00
Andrei Zeliankou
69e690affe
Tests: added flags to search functions in proto.py.
...
Also removed unnesessary re.compile() calls.
2022-07-28 14:12:19 +01:00
Andrei Zeliankou
a1cda6455f
Tests: added tests for more HTTP variables.
2022-07-19 17:34:32 +01:00
Andrei Zeliankou
d358b1d448
Tests: added tests for dynamic variables.
2022-07-14 11:50:41 +01:00
Andrei Zeliankou
a3699557a3
Tests: minor improvements.
...
Added "go" availability check before trying to build an application.
update_action() method used were possible and fixed bug with
the relative path determination in test_static_chroot.py.
Templates optimization and style fixes.
2022-06-30 14:40:17 +01:00
Andrei Zeliankou
7e64971cbe
Version bump.
2022-06-17 09:46:30 +01:00
Andrei Zeliankou
862f51bcd8
Specified date of 1.27.0 release in changes.xml.
2022-06-08 13:12:51 +01:00
Andrei Zeliankou
0d48fe73c4
Unit 1.27.0 release.
2022-06-02 13:37:14 +01:00
Andrei Zeliankou
3d1fa29f1d
Generated Dockerfiles for Unit 1.27.0.
2022-06-02 12:31:55 +00:00
Andrei Zeliankou
cf9b5bdb35
Added version 1.27.0 CHANGES.
2022-06-02 13:30:52 +01:00
Andrei Zeliankou
bd80039e07
Node.js: fixed ES modules format in loader.mjs.
...
Before Node.js v16.14.0 the "format" value in defaultResolve
was ignored so error was hidden. For more information see:
https://github.com/nodejs/node/pull/40980
2022-06-02 11:48:27 +01:00
Andrei Zeliankou
caa05887ff
Logging a NULL pointer instead of passing it in the memcpy().
2022-06-01 16:40:34 +01:00
Andrei Zeliankou
161230b955
Tests: improved test for $request_uri variable.
2022-06-01 16:40:27 +01:00
Andrei Zeliankou
880c8e51c3
Tests: removed deprecated ssl.PROTOCOL_TLSv1_2 constant.
2022-06-01 00:15:15 +01:00
Andrei Zeliankou
de0a0beb83
Tests: added tests for Ruby stream IO.close().
2022-05-13 15:43:57 +01:00
Andrei Zeliankou
1bffba6d1e
Tests: added test for "SCRIPT_NAME" variable in Ruby.
2022-05-10 01:53:23 +01:00
Andrei Zeliankou
03a7701133
Tests: added more tests with reconfiguration.
2022-05-09 10:14:29 +01:00
Andrei Zeliankou
8138d15f76
Tests: added check for zombie processes.
2022-04-12 04:16:00 +01:00
Andrei Zeliankou
0f72534660
Tests: style.
2022-04-11 21:05:14 +01:00
Andrei Zeliankou
170752e96f
Tests: added test with long certificate chain.
2022-02-15 21:43:02 +00:00
Andrei Zeliankou
e53ce40c58
Tests: removed TestApplicationTLS.get_server_certificate().
...
distutils.version is replaced by packaging.version. Also minor style fixes.
2022-01-31 23:10:30 +00:00
Andrei Zeliankou
9bea8c452f
Tests: fixed type of applications.
2021-12-12 21:36:44 +00:00
Andrei Zeliankou
4b3efcea0d
Tests: added more OPcache tests.
2021-12-11 00:16:59 +00:00
Andrei Zeliankou
ad843df965
Tests: fixed path to the "php.ini" file.
2021-12-10 15:34:52 +00:00
Andrei Zeliankou
5e40c969c7
Tests: fixed skipping tests with disabled OPcache.
2021-12-01 11:25:34 +00:00
Andrei Zeliankou
cebef9691b
Tests: fixed skipping tests with disabled OPcache.
2021-12-01 11:25:34 +00:00
Andrei Zeliankou
bcff62d267
Tests: fixed session reuse tests.
...
Since SSL_CTX_sess_set_cache_size() can't guarantee the size
of the cache there is no need to test edge "cache_size" values.
2021-11-15 12:15:23 +00:00
Andrei Zeliankou
ae03585238
Tests: refactored working with processes.
2021-11-15 12:13:54 +00:00
Andrei Zeliankou
6961de1d64
Tests: added more tests for "query" routing pattern.
2021-11-10 15:43:24 +00:00
Andrei Zeliankou
8c253631d9
Tests: added "requirements.txt".
2021-11-04 18:13:19 +00:00
Andrei Zeliankou
bc95fcc324
Tests: added migration test for "share".
2021-11-04 13:05:53 +00:00
Andrei Zeliankou
2359c4056c
Tests: added pyOpenSSL module check were necessary.
2021-11-02 18:39:03 +00:00
Andrei Zeliankou
c27d0fe7bd
Tests: removed unused imports.
2021-11-02 17:53:28 +00:00
Andrei Zeliankou
bd9da8bc8c
Tests: added tests for TLS session tickets.
2021-10-28 18:30:37 +01:00
Andrei Zeliankou
e428f2cf7a
Tests: added tests for TLS sessions.
2021-10-28 17:15:38 +01:00
Andrei Zeliankou
39adb292d5
Tests: style.
2021-10-18 01:10:11 +01:00
Andrei Zeliankou
5c20d43eff
Tests: added tests for variables in "chroot".
2021-10-05 12:43:05 +01:00
Andrei Zeliankou
a59557ccd7
Tests: added tests for variables in "share".
2021-10-05 12:42:41 +01:00
Andrei Zeliankou
22028549c6
Tests: added tests for "share" option with arrays.
2021-10-05 03:24:56 +01:00
Andrei Zeliankou
960ffc9967
Tests: added SNI test without hostname in request.
2021-07-23 15:37:03 +01:00
Andrei Zeliankou
4f94df6a71
Tests: print_log_on_assert() decorator introduced.
2021-07-06 12:22:10 +01:00
Andrei Zeliankou
bc84992075
Tests: address configuration tests reworked.
2021-07-03 19:15:04 +01:00
Andrei Zeliankou
b86891c4ef
Tests: renamed share to static.
...
Also minor style changes.
2021-06-28 22:05:40 +01:00
Andrei Zeliankou
72420358be
Tests: chroot test with permissions skipped under root.
2021-06-24 04:01:15 +01:00