Andrei Zeliankou
880c8e51c3
Tests: removed deprecated ssl.PROTOCOL_TLSv1_2 constant.
2022-06-01 00:15:15 +01:00
Alejandro Colomar
aee8b9bfb2
Tests: Added tests for $request_uri.
2022-05-31 12:41:11 +02:00
Alejandro Colomar
8027e7ce0f
Tests: added tests for "index" (string) option.
2022-05-30 12:42:18 +02:00
Alejandro Colomar
c60f678485
Tests: Added tests for empty "location".
2022-05-16 12:57:37 +02: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
Alejandro Colomar
d929fbe1a4
Tests: Added tests for variables in "location".
2022-04-28 20:40:01 +02:00
Alejandro Colomar
6d017dfbe4
Tests: Changed tests to accept variables in "location".
2022-04-28 20:40:01 +02: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
Max Romanov
1297e8a16a
Tests: using modules in Go.
2022-01-10 16:07:31 +03:00
Max Romanov
f845283820
Perl: creating input and error streams if closed.
...
Application handler can do anything with a stream object (including close it).
Once the stream is closed, Unit creates a new stream.
This closes #616 issue on GitHub.
2021-12-27 16:37:35 +03: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
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
Max Romanov
b424a00ec5
Tests: PHP shared opcache test added.
2021-11-09 15:48:44 +03:00
Max Romanov
506ec2b825
Tests: app prototype related fixes.
2021-11-09 15:48:44 +03:00
Zhidao HONG
aee908bcbd
Router: matching query string support.
...
The "query" option matches decoded arguments, including plus ('+') to
space (' '). Like "uri", it can be a string or an array of strings.
2021-11-05 22:56:34 +08: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
Zhidao HONG
c5220944d2
Static: variables in the "share" option.
...
This commit supports variable in the "share" option, the finding path to
file serve is the value from "share". An example:
{
"share": "/www/data/static$uri"
}
2021-09-30 22:17:28 +08:00
Max Romanov
c07f3d3ff6
Fixed WebSocket connection hang issue after listener reconfigure.
...
Because the configuration values were read from the listener's configuration,
an established WebSocket connection was unable to work properly (i. e. stuck)
if the listener was removed. The correct source of configuration values is the
request config joint.
This is related to issue #581 on GitHub.
2021-09-20 09:01:08 +03:00
Max Romanov
b586707c86
Java: upgrading third-party components.
2021-08-12 14:55:51 +03:00
Oisin Canty
039d032dd6
Tests: client IP address replacement.
2021-08-12 08:23:23 +00:00
Max Romanov
9988569bea
Tests: initialising log params before first _print_log().
2021-08-11 19:01:16 +03:00
Max Romanov
5f67d30ec7
Tests: retrying directory remove if resource is busy.
2021-08-11 19:01:04 +03:00
Max Romanov
1a85ad378f
Java: upgrading third-party components.
2021-08-09 10:14:57 +03:00
Oisin Canty
60cf139961
Router: fixed crash when matching an empty address pattern array.
...
A crash would occur when the router tried to match an
against an empty address pattern array.
The following configuration was used to reproduce the
issue:
{
"listeners": {
"127.0.0.1:8082": {
"pass": "routes"
}
},
"routes": [
{
"match": {
"source": []
},
"action": {
"return": 200
}
}
]
}
2021-08-05 16:00:01 +00:00
Zhidao HONG
d16cf04167
Router: fixed segmentation fault.
...
In the case that routes or upstreams is empty and the pass option is a variable.
If the resolved pass is routes or upstreams, a segment error occurred.
2021-08-02 12:30:38 +08:00
Max Romanov
fa9fb29be2
Application restart introduced.
...
When processing a restart request, the router sends a QUIT message to all
existing processes of the application. Then, a new shared application port is
created to ensure that new requests won't be handled by the old processes of
the application.
2021-07-29 19:50:39 +03:00
Andrei Zeliankou
960ffc9967
Tests: added SNI test without hostname in request.
2021-07-23 15:37:03 +01:00
Oisin Canty
1f2ba4dca8
Tests: use mutex with multitthreaded Ruby hooks.
...
This commit fixes a rare crash that can occur when File.write is
called by many threads.
2021-07-21 14:53:33 +00: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
Oisin Canty
8c83652c2a
Tests: Ruby hooks.
2021-07-02 13:00:57 +00:00