History log of /unit/test/ (Results 51 – 75 of 528)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1956:f4c32c2d595d20-Sep-2021 Max Romanov

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

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.

show more ...

Revision tags: 1.25.0-1, 1.25.0
1938:418e225f58e412-Aug-2021 Max Romanov

Java: upgrading third-party components.

1937:0791ba191da012-Aug-2021 Oisin Canty

Tests: client IP address replacement.

1934:2060686d657911-Aug-2021 Max Romanov

Tests: initialising log params before first _print_log().

1933:85d5ea55c75c11-Aug-2021 Max Romanov

Tests: retrying directory remove if resource is busy.

1931:747666e4bec309-Aug-2021 Max Romanov

Java: upgrading third-party components.

1930:fb8b29aac7a105-Aug-2021 Oisin Canty

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

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

show more ...

1928:ae4f067a9ea401-Aug-2021 Zhidao HONG

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.

1926:6e85d6c0b8bb29-Jul-2021 Max Romanov

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 en

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.

show more ...

1922:53a9f4983fe023-Jul-2021 Andrei Zeliankou

Tests: added SNI test without hostname in request.

1919:4db57d6df92021-Jul-2021 Oisin Canty

Tests: use mutex with multitthreaded Ruby hooks.

This commit fixes a rare crash that can occur when File.write is
called by many threads.

1914:c5adf908869005-Jul-2021 Andrei Zeliankou

Tests: print_log_on_assert() decorator introduced.

1913:3e9b04cd33bc03-Jul-2021 Andrei Zeliankou

Tests: address configuration tests reworked.

1912:942e252e3f4c02-Jul-2021 Oisin Canty

Tests: Ruby hooks.

1911:4a7d1f86c2e502-Jul-2021 Oisin Canty

Tests: run Ruby applications inside temporary directory.

1906:d658eb4227b501-Jul-2021 Max Romanov

Tests: fixing racing condition in respawn tests.

A race may occur between the router process restart and the main process
sending a notification to the running controller. For example, a test scrip

Tests: fixing racing condition in respawn tests.

A race may occur between the router process restart and the main process
sending a notification to the running controller. For example, a test script
detects the new process and starts performing a smoke test, but the controller
has not yet received the 'remove PID' notification, so the connection to the
router is broken and any attempt to update the configuration will cause an
error.

The solution is to perform several attempts to reconfigure Unit with a short
delay between failures.

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

1902:17547cf0ed3928-Jun-2021 Andrei Zeliankou

Tests: renamed share to static.

Also minor style changes.

1901:2e84334ca8db24-Jun-2021 Andrei Zeliankou

Tests: chroot test with permissions skipped under root.

Revision tags: 1.24.0-1, 1.24.0
1888:523fb9a82f6327-May-2021 Andrei Zeliankou

Tests: added tests for TLS "conf_commands" option.

1886:783946c4c90e26-May-2021 Andrei Zeliankou

Tests: added TLS test without close notify.

1883:b075f32408a126-May-2021 Oisin Canty

Static: handled unknown MIME types when MIME-filtering active.

1880:00dc6b21190625-May-2021 Max Romanov

Go: fixing tests for Go 1.16.

In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: http

Go: fixing tests for Go 1.16.

In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: https://golang.org/doc/go1.16

show more ...

1878:c4c6013d319e24-May-2021 Andrei Zeliankou

Tests: added additional check in tests with timeouts.

1877:e09738cfc6be24-May-2021 Andrei Zeliankou

Tests: test_settings_send_timeout improved.

Data length adjusts depending on socket buffer size when it's possible.

12345678910>>...22