summaryrefslogtreecommitdiffhomepage
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-28Tests: added flags to search functions in proto.py.Andrei Zeliankou3-13/+8
Also removed unnesessary re.compile() calls.
2022-07-27Ruby: fixed contents of SCRIPT_NAME.Alejandro Colomar1-1/+1
Having the basename of the script pathname was incorrect. While we don't have something more accurate, the best thing to do is to have it empty (which should be the right thing most of the time). This closes #715 issue on GitHub. The bug was introduced in git commit 0032543fa65f454c471c968998190b027c1ff270 'Ruby: added the Rack environment parameter "SCRIPT_NAME".'.
2022-07-20Tests: added tests for translating $dollar into a literal $.Andrew Clayton1-0/+21
If you need to specify a $ in a URI you can now use '$dollar' or '${dollar}'. Added some tests for the above to test_variables.py setting a Location string.
2022-07-19Tests: added tests for more HTTP variables.Andrei Zeliankou1-0/+51
2022-07-14Tests: added tests for dynamic variables.Andrei Zeliankou1-0/+82
2022-06-30Tests: minor improvements.Andrei Zeliankou5-98/+39
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-20Tests: forwarded header replacement tests.Zhidao HONG2-0/+276
2022-06-20Tests: reworked client IP tests.Zhidao HONG1-17/+38
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