Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-03-28 | Tests: unit module refactoring. | Andrey Zelenkov | 33 | -918/+931 | |
2019-03-26 | Tests: speed up Java tests. | Andrey Zelenkov | 1 | -1/+5 | |
2019-03-26 | Tests: style. | Andrey Zelenkov | 18 | -2380/+4159 | |
2019-03-25 | Turning off port read event state after main process fork. | Max Romanov | 1 | -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-21 | Adjusting request schema value according to connection tls state. | Max Romanov | 1 | -0/+21 | |
This closes #223 issue on GitHub. | |||||
2019-03-05 | Introducing one more large config test, but without sockets. | Max Romanov | 1 | -0/+25 | |
2019-03-01 | Tests: skip more alerts. | Andrey Zelenkov | 2 | -2/+7 | |
2019-03-01 | Tests: made tests compatible with PHP 5.3. | Andrey Zelenkov | 3 | -4/+10 | |
2019-03-01 | Tests: Perl streaming body and delayed response simple tests. | Andrey Zelenkov | 3 | -0/+39 | |
2019-03-01 | Perl: added implementation delayed response and streaming body. | Alexander Borisov | 1 | -1/+1 | |
2019-02-28 | Tests: specify ssl_version option. | Andrey Zelenkov | 1 | -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-28 | Tests: fixed PHP "disable_functions" and "disable_classes" tests. | Andrey Zelenkov | 4 | -69/+60 | |
2019-02-28 | Made QUERY_STRING mandatory. | Valentin Bartenev | 1 | -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-28 | Introducing Java Servlet Container beta. | Max Romanov | 41 | -0/+2171 | |
2019-02-27 | Tests: "Host" header tests. | Andrey Zelenkov | 2 | -0/+154 | |
2019-02-27 | Tests: routing. | Andrey Zelenkov | 1 | -0/+458 | |
2019-02-27 | Tests: read_timeout option introduced. | Andrey Zelenkov | 3 | -13/+16 | |
Also, increased default select() timeout from 1s to 5s. | |||||
2019-02-27 | Tests: added "Host" and "Connetion" headers where necessary. | Andrey Zelenkov | 10 | -99/+143 | |
Also minor header organizing. | |||||
2019-02-27 | Perl: added processing for IO:Handle-like object. | Alexander Borisov | 1 | -1/+0 | |
The application can return the body as an IO:Handle-like object without file descriptor. | |||||
2019-02-20 | Tests: one more alert skipped in test_json_application_many. | Andrey Zelenkov | 1 | -0/+1 | |
2019-02-20 | Tests: skip sendmsg()/recvmsg() alerts for all tests. | Andrey Zelenkov | 4 | -11/+2 | |
Currently, these alerts may appear in the log when any application exits. | |||||
2019-02-20 | Tests: removed test_http_header_transfer_encoding_chunked. | Andrey Zelenkov | 1 | -17/+0 | |
2019-02-20 | Tests: JSON array allowed. | Andrey Zelenkov | 1 | -1/+1 | |
2019-02-20 | Tests: fixed ports range. | Andrey Zelenkov | 1 | -2/+2 | |
2019-02-18 | Rejecting requests with duplicate "Content-Length". | Valentin Bartenev | 1 | -1/+0 | |
2019-02-14 | Tests: added tests for "Content-Length" header. | Andrey Zelenkov | 1 | -0/+46 | |
2019-02-14 | Tests: headers with equal header fields allowed. | Andrey Zelenkov | 1 | -1/+6 | |
2019-02-14 | Tests: minor fixes. | Andrey Zelenkov | 2 | -5/+3 | |
2019-01-28 | Tests: large configuration tests. | Andrey Zelenkov | 1 | -0/+47 | |
2019-01-28 | Tests: added test for reading body from IO::Handle-like object. | Andrey Zelenkov | 3 | -0/+58 | |
2019-01-28 | Tests: removed blocking mode customization for sockets. | Andrey Zelenkov | 1 | -5/+2 | |
This customization was added in 0e12b17e512d and left unused. Also, set blocking mode by default for all sockets. | |||||
2018-12-25 | Tests: removed skipping Go tests on x86. | Andrey Zelenkov | 1 | -6/+1 | |
2018-12-25 | Tests: added delay to wait for error logging. | Andrey Zelenkov | 1 | -0/+3 | |
2018-12-25 | Tests: fixed test_tls_reconfigure. | Andrey Zelenkov | 1 | -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. | |||||
2018-12-25 | Tests: set TCP_NODELAY option by default. | Andrey Zelenkov | 1 | -0/+3 | |
2018-12-25 | Tests: test_node_application_write_before_writeHead reworked. | Andrey Zelenkov | 2 | -2/+3 | |
Added res.end() call in application and response status check. Also, renamed to test_node_application_write_before_write_head. | |||||
2018-12-25 | Tests: expectedFailure's removed from test_node_application.py. | Andrey Zelenkov | 1 | -7/+0 | |
Also removed alert skip in test_node_application_write_before_writeHead. Fixes committed in 1340e3539362, 1e008ef94f43, 5df32621af19, dae402cb243f and 41f561b3a178. | |||||
2018-12-24 | Tests: more QUERY_STRING tests. | Andrey Zelenkov | 5 | -0/+88 | |
2018-12-11 | Tests: more Node.js tests. | Andrey Zelenkov | 11 | -2/+200 | |
2018-11-28 | Tests: PHP directives "disable_classes" and "disable_functions". | Andrey Zelenkov | 3 | -0/+118 | |
2018-12-04 | Tests: fixed test_node_application_write_callback. | Andrey Zelenkov | 2 | -3/+9 | |
Fixed the write() callback order test. Also introduced a separate test to verify the callback call itself. | |||||
2018-10-25 | Tests: Node.js application tests. | Sergey Kandaurov | 18 | -0/+342 | |
2018-11-15 | Tests: class prefix made optional. | Andrey Zelenkov | 1 | -2/+6 | |
2018-11-15 | Tests: added command line arguments parsing in tests. | Andrey Zelenkov | 15 | -17/+55 | |
Added the following command line arguments: -d, --detailed: Show detailed output for tests Usage examples: ./test/run.py --detailed python3 test/test_access_log.py --detailed python3 test/test_access_log.py -d TestUnitAccessLog.test_access_log_ipv6 -l, --log: Save unit.log after the test execution Usage examples: ./test/run.py -l python3 test/test_access_log.py -l python3 test/test_access_log.py --log TestUnitAccessLog.test_access_log_ipv6 | |||||
2018-11-13 | Tests: print path to unit.log file when it was saved. | Andrey Zelenkov | 1 | -3/+14 | |
2018-11-13 | Tests: leave unit.log in case of error or failure. | Andrey Zelenkov | 1 | -1/+21 | |
2018-10-18 | Tests: provide openssl.conf in test_tls_certificate_key_ec. | Sergey Kandaurov | 1 | -0/+3 | |
Previously, test failed if openssl was unable to load config info, or the system's openssl.cnf was picked up, which is wrong as well. | |||||
2018-10-09 | Renamed "go" application type to "external". | Valentin Bartenev | 1 | -1/+1 | |
There's nothing specific to Go language. This type of application object can be used to run any external application that utilizes libunit API. | |||||
2018-09-28 | Disabled chunked transfer encoding for 204 responses. | Igor Sysoev | 1 | -1/+0 | |
2018-09-20 | Tests: TLS tests. | Andrey Zelenkov | 2 | -4/+505 | |