summaryrefslogtreecommitdiffhomepage
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-07-14Tests: check application configuration loading in TLS tests.Andrey Zelenkov1-1/+1
2019-07-14Tests: removed unnecessary initialization.Andrey Zelenkov1-2/+0
That could leads to the incorrect behaviour in test_tls_application_respawn.
2019-07-14Tests: removed unused import.Andrey Zelenkov1-1/+0
2019-07-08Tests: made openssl certificates more strong to avoid errors.Andrey Zelenkov2-3/+3
2019-07-08Tests: added PATH_INFO variable test.Andrey Zelenkov2-1/+4
2019-07-05PHP: improved response status code handling.Valentin Bartenev2-0/+44
There's no reason to parse "http_status_line"; the PHP interpreter already does this. If the line contains a valid status code, it's assigned to "http_response_code". This also fixes invalid status line handling, where the nxt_int_parse() function returned -1; it was cast to unsigned, yielding response code 65535.
2019-07-02Tests: adjusted inactive interval in Java app for slow hosts.Andrey Zelenkov2-5/+19
2019-07-02Tests: removed misleading comments in test_routing.t.Andrey Zelenkov1-2/+2
2019-06-10Cookie-based routing should be case-sensitive.Igor Sysoev1-11/+22
2019-05-30Tests: routing "cookies" tests.Andrey Zelenkov1-0/+482
2019-05-30Tests: routing "arguments" tests.Andrey Zelenkov1-0/+434
2019-05-30Tests: routing "headers" tests.Andrey Zelenkov1-0/+481
2019-05-30Tests: fixed tests without "Host" header.Andrey Zelenkov3-21/+26
2019-05-30Tests: adjusted skipping tests.Andrey Zelenkov12-83/+30
2019-05-30Tests: configure arrays with PUT tests.Andrey Zelenkov1-0/+22
2019-04-26Tests: more routing tests with arrays.Andrey Zelenkov1-0/+407
2019-04-26Tests: TestControl.conf_post() introduced.Andrey Zelenkov1-0/+4
2019-04-26Tests: TestControl refactored.Andrey Zelenkov1-39/+48
2019-04-26Tests: check application configuration loading.Andrey Zelenkov8-7/+12
2019-04-22Tests: using blocking for large output.Andrey Zelenkov1-0/+4
2019-04-22Tests: read_timeout increased for incomplete requests.Andrey Zelenkov2-7/+9
Also fixed test without \"Host\" header.
2019-04-22Tests: fixed naming.Andrey Zelenkov1-1/+1
2019-04-22Tests: using "pass" option instead of deprecated "application".Valentin Bartenev13-39/+44
2019-04-18Tests: using low-case header names in Node.js tests.Andrey Zelenkov4-6/+6
2019-04-15Tests: more wildcard pattern tests for routing.Andrey Zelenkov1-0/+304
2019-04-15Tests: wait more time on Unit closing.Andrey Zelenkov1-1/+1
2019-04-15Tests: added time to handle requests in access_log partial tests.Andrey Zelenkov1-4/+12
2019-04-09Tests: check unitd availability before start.Andrey Zelenkov1-2/+7
2019-04-09Tests: read_timeout increased.Andrey Zelenkov1-2/+2
2019-04-09Tests: speed up tests.Andrey Zelenkov11-8/+59
2019-04-09Tests: wait_for_record() introduced.Andrey Zelenkov6-85/+59
2019-04-09Tests: added "name" argument for search_in_log().Andrey Zelenkov1-2/+2
2019-04-09Tests: style.Andrey Zelenkov1-12/+3
2019-04-09Tests: simplified module checking.Andrey Zelenkov18-35/+21
2019-03-28Tests: unit module refactoring.Andrey Zelenkov33-918/+931
2019-03-26Tests: speed up Java tests.Andrey Zelenkov1-1/+5
2019-03-26Tests: style.Andrey Zelenkov18-2380/+4159
2019-03-25Turning off port read event state after main process fork.Max Romanov1-2/+0
Master port stores two file descriptors and works as a read port on the master process side. After a fork, the port switches into write mode and the read socket closes, but the same event structure is used for the write socket. However, the inherited structure remained in read state, telling the epoll engine to use MOD operation instead of ADD. The patch resets read event state, so the engine may write using proper ADD operation.
2019-03-21Adjusting request schema value according to connection tls state.Max Romanov1-0/+21
This closes #223 issue on GitHub.
2019-03-05Introducing one more large config test, but without sockets.Max Romanov1-0/+25
2019-03-01Tests: skip more alerts.Andrey Zelenkov2-2/+7
2019-03-01Tests: made tests compatible with PHP 5.3.Andrey Zelenkov3-4/+10
2019-03-01Tests: Perl streaming body and delayed response simple tests.Andrey Zelenkov3-0/+39
2019-03-01Perl: added implementation delayed response and streaming body.Alexander Borisov1-1/+1
2019-02-28Tests: specify ssl_version option.Andrey Zelenkov1-1/+13
TLS is explicitly selected to prevent using of SSL protocol in ssl.get_server_certificate() call for Python 3.4 and older.
2019-02-28Tests: fixed PHP "disable_functions" and "disable_classes" tests.Andrey Zelenkov4-69/+60
2019-02-28Made QUERY_STRING mandatory.Valentin Bartenev1-1/+0
According to CGI/1.1 RFC 3875: The server MUST set this variable; if the Script-URI does not include a query component, the QUERY_STRING MUST be defined as an empty string (""). Python's PEP 333(3) allows omitting it in WSGI interface; PHP docs force no requirements; PSGI and Rack specifications require it even if empty. When nginx proxies requests over FastCGI, it always provides QUERY_STRING. and some PHP apps have been observed to fail if it is missing (see issue #201 on GitHub). A drawback of this change (besides a small overhead) is that there will be no easy way to tell a missing query string from an empty one (i.e. requests with or without the "?" character); yet, it's negligible compared to the possible benefits of wider application compatibility. This closes #226 issue on GitHub.
2019-02-28Introducing Java Servlet Container beta.Max Romanov41-0/+2171
2019-02-27Tests: "Host" header tests.Andrey Zelenkov2-0/+154
2019-02-27Tests: routing.Andrey Zelenkov1-0/+458