summaryrefslogtreecommitdiffhomepage
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
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
2019-02-27Tests: read_timeout option introduced.Andrey Zelenkov3-13/+16
Also, increased default select() timeout from 1s to 5s.
2019-02-27Tests: added "Host" and "Connetion" headers where necessary.Andrey Zelenkov10-99/+143
Also minor header organizing.
2019-02-27Perl: added processing for IO:Handle-like object.Alexander Borisov1-1/+0
The application can return the body as an IO:Handle-like object without file descriptor.
2019-02-20Tests: one more alert skipped in test_json_application_many.Andrey Zelenkov1-0/+1
2019-02-20Tests: skip sendmsg()/recvmsg() alerts for all tests.Andrey Zelenkov4-11/+2
Currently, these alerts may appear in the log when any application exits.
2019-02-20Tests: removed test_http_header_transfer_encoding_chunked.Andrey Zelenkov1-17/+0
2019-02-20Tests: JSON array allowed.Andrey Zelenkov1-1/+1
2019-02-20Tests: fixed ports range.Andrey Zelenkov1-2/+2
2019-02-18Rejecting requests with duplicate "Content-Length".Valentin Bartenev1-1/+0
2019-02-14Tests: added tests for "Content-Length" header.Andrey Zelenkov1-0/+46
2019-02-14Tests: headers with equal header fields allowed.Andrey Zelenkov1-1/+6
2019-02-14Tests: minor fixes.Andrey Zelenkov2-5/+3
2019-01-28Tests: large configuration tests.Andrey Zelenkov1-0/+47
2019-01-28Tests: added test for reading body from IO::Handle-like object.Andrey Zelenkov3-0/+58
2019-01-28Tests: removed blocking mode customization for sockets.Andrey Zelenkov1-5/+2
This customization was added in 0e12b17e512d and left unused. Also, set blocking mode by default for all sockets.
2018-12-25Tests: removed skipping Go tests on x86.Andrey Zelenkov1-6/+1
2018-12-25Tests: added delay to wait for error logging.Andrey Zelenkov1-0/+3
2018-12-25Tests: fixed test_tls_reconfigure.Andrey Zelenkov1-9/+11
Previously, order of applying TLS configuration and sending partial request to the application was uncertain. These changes make sure that client-application connection was established before reconfiguration. Additionally, added test to check that non-TLS connection works correctly after reconfiguration.