summaryrefslogtreecommitdiffhomepage
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06Node.js: returning "this" from writeHead() to allow chaining.Valentin Bartenev10-20/+14
In Node.js version 11.10.0 and later, the writeHead() function returns "this".
2019-08-01Tests: added delay before SIGQUIT in access_log partial tests.Andrey Zelenkov1-3/+9
This change is necessary to avoid race between client connection close and Unit close. Also "read_timeout" value decreased to speed up tests.
2019-07-24Added routing based on request scheme.Axel Duch2-0/+152
Scheme matches exact string “http” or “https”.
2019-07-23Tests: fixed test_java_conf_error to pass with "--modules=" option.Andrey Zelenkov1-0/+1
2019-07-17Tests: more Java tests.Andrey Zelenkov2-0/+40
Added test with war file and error configuration test.
2019-07-17Tests: added PHP tests with "script" and "index" options.Andrey Zelenkov2-0/+42
2019-07-14Tests: simplified one route case configuration.Andrey Zelenkov1-661/+406
No functional changes.
2019-07-14Tests: TestApplicationTLS.openssl_conf() introduced.Andrey Zelenkov2-5/+14
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