summaryrefslogtreecommitdiffhomepage
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-01Tests: improved test for $request_uri variable.Andrei Zeliankou1-2/+2
2022-06-01Tests: removed deprecated ssl.PROTOCOL_TLSv1_2 constant.Andrei Zeliankou1-2/+5
2022-05-31Tests: Added tests for $request_uri.Alejandro Colomar1-0/+9
2022-05-30Tests: added tests for "index" (string) option.Alejandro Colomar1-0/+28
2022-05-16Tests: Added tests for empty "location".Alejandro Colomar1-0/+15
2022-05-13Tests: added tests for Ruby stream IO.close().Andrei Zeliankou3-7/+8
2022-05-10Tests: added test for "SCRIPT_NAME" variable in Ruby.Andrei Zeliankou2-0/+2
2022-05-09Tests: added more tests with reconfiguration.Andrei Zeliankou4-51/+155
2022-04-28Tests: Added tests for variables in "location".Alejandro Colomar1-0/+19
2022-04-28Tests: Changed tests to accept variables in "location".Alejandro Colomar1-4/+4
2022-04-12Tests: added check for zombie processes.Andrei Zeliankou1-0/+58
2022-04-11Tests: style.Andrei Zeliankou36-343/+291
2022-02-15Tests: added test with long certificate chain.Andrei Zeliankou1-0/+45
2022-01-31Tests: removed TestApplicationTLS.get_server_certificate().Andrei Zeliankou14-60/+61
distutils.version is replaced by packaging.version. Also minor style fixes.
2022-01-10Tests: using modules in Go.Max Romanov3-45/+38
2021-12-27Perl: creating input and error streams if closed.Max Romanov3-0/+47
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-12Tests: fixed type of applications.Andrei Zeliankou9-23/+23
2021-12-11Tests: added more OPcache tests.Andrei Zeliankou4-13/+66
2021-12-10Tests: fixed path to the "php.ini" file.Andrei Zeliankou1-2/+10
2021-12-01Tests: fixed skipping tests with disabled OPcache.Andrei Zeliankou1-1/+1
2021-11-15Tests: fixed session reuse tests.Andrei Zeliankou1-17/+13
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-15Tests: refactored working with processes.Andrei Zeliankou8-39/+39
2021-11-10Tests: added more tests for "query" routing pattern.Andrei Zeliankou1-8/+16
2021-11-09Tests: PHP shared opcache test added.Max Romanov4-9/+54
2021-11-09Tests: app prototype related fixes.Max Romanov5-3/+19
2021-11-05Router: matching query string support.Zhidao HONG1-0/+44
The "query" option matches decoded arguments, including plus ('+') to space (' '). Like "uri", it can be a string or an array of strings.
2021-11-04Tests: added "requirements.txt".Andrei Zeliankou1-0/+2
2021-11-04Tests: added migration test for "share".Andrei Zeliankou2-4/+52
2021-11-02Tests: added pyOpenSSL module check were necessary.Andrei Zeliankou2-0/+4
2021-11-02Tests: removed unused imports.Andrei Zeliankou11-12/+0
2021-10-28Tests: added tests for TLS session tickets.Andrei Zeliankou1-0/+195
2021-10-28Tests: added tests for TLS sessions.Andrei Zeliankou1-0/+129
2021-10-18Tests: style.Andrei Zeliankou51-74/+19
2021-10-05Tests: added tests for variables in "chroot".Andrei Zeliankou1-0/+116
2021-10-05Tests: added tests for variables in "share".Andrei Zeliankou1-0/+80
2021-10-05Tests: added tests for "share" option with arrays.Andrei Zeliankou1-0/+73
2021-09-30Static: variables in the "share" option.Zhidao HONG6-43/+48
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-20Fixed WebSocket connection hang issue after listener reconfigure.Max Romanov1-0/+17
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-08-12Java: upgrading third-party components.Max Romanov1-1/+1
2021-08-12Tests: client IP address replacement.Oisin Canty2-0/+133
2021-08-11Tests: initialising log params before first _print_log().Max Romanov1-2/+3
2021-08-11Tests: retrying directory remove if resource is busy.Max Romanov1-1/+8
2021-08-09Java: upgrading third-party components.Max Romanov1-1/+1
2021-08-05Router: fixed crash when matching an empty address pattern array.Oisin Canty1-0/+4
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-02Router: fixed segmentation fault.Zhidao HONG1-0/+19
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-07-29Application restart introduced.Max Romanov5-0/+104
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-23Tests: added SNI test without hostname in request.Andrei Zeliankou2-1/+21
2021-07-21Tests: use mutex with multitthreaded Ruby hooks.Oisin Canty3-3/+15
This commit fixes a rare crash that can occur when File.write is called by many threads.
2021-07-06Tests: print_log_on_assert() decorator introduced.Andrei Zeliankou1-73/+82
2021-07-03Tests: address configuration tests reworked.Andrei Zeliankou1-58/+21