summaryrefslogtreecommitdiffhomepage
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-09-24Tests: static tests with file system objects.Andrey Zelenkov1-0/+24
2019-09-19Tests: serving static files.Andrey Zelenkov1-0/+376
2019-09-19Initial applications isolation support using Linux namespaces.Tiago de Bem Natel de Moura3-0/+301
2019-09-18Tests: added read_buffer_size option in http().Andrey Zelenkov1-1/+8
2019-09-17Tests: head() method introduced.Andrey Zelenkov1-0/+3
2019-09-17HTTP parser: fixed parsing of target after literal space character.Valentin Bartenev1-0/+31
In theory, all space characters in request target must be encoded; however, some clients may violate the specification. For the sake of interoperability, Unit supports unencoded space characters. Previously, if there was a space character before the extension or arguments parts, those parts weren't recognized. Also, quoted symbols and complex target weren't detected after a space character.
2019-09-16Tests: fixed features check.Andrey Zelenkov1-2/+2
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov24-113/+146
2019-09-16Tests: prepare_env() introduced.Andrey Zelenkov1-8/+13
2019-09-16Tests: style and minor fixes in java.py.Andrey Zelenkov2-8/+7
2019-09-16Tests: more comments.Andrey Zelenkov1-0/+4
2019-09-16Tests: set default "unsafe" value.Andrey Zelenkov1-0/+1
2019-09-05Tests: Java websockets tests.Andrey Zelenkov2-0/+1526
2019-09-05Java: introducing websocket support.Max Romanov1-2/+10
2019-09-03Tests: increased read_timeout for websockets tests.Andrey Zelenkov1-2/+6
2019-09-02Tests: fixed recv_bytes() in websockets.py.Andrey Zelenkov2-11/+3
2019-09-02Tests: removed duplicate websocket tests.Andrey Zelenkov1-80/+0
2019-09-02Tests: prevented writing non-chopped frames to the closed socket.Andrey Zelenkov2-2/+4
2019-08-30Tests: prevented writing to the closed socket for websocket tests.Andrey Zelenkov1-1/+4
2019-08-30Tests: websockets style fixes.Andrey Zelenkov2-248/+216
2019-08-22Tests: removed keepalive_interval for websocket tests.Andrey Zelenkov2-6/+12
Also increased read_timeout in frame_read() for slow hosts.
2019-08-22Tests: Node.js websockets tests tuned.Andrey Zelenkov2-5/+16
2019-08-22Tests: Node.js websockets.Andrey Zelenkov5-0/+1841
2019-08-22Tests: "--unsafe" option introduced.Andrey Zelenkov1-0/+8
2019-08-21Tests: reverted rerun for Java tests in 5e429a7f133c.Andrey Zelenkov1-3/+1
Each testcase should also recompile to be recompiled. So backed out for now.
2019-08-14Tests: print decoded strings in detailed mode, if possible.Andrey Zelenkov1-2/+10
2019-08-14Tests: fixed port reusing to avoid access issues.Andrey Zelenkov2-2/+2
2019-08-14Java: implementing multipart message support.Max Romanov1-1/+0
This closes #265 issue on GitHub.
2019-08-14Tests: goftm used for Go applications.Andrey Zelenkov8-78/+78
2019-08-14Tests: added tests for deleting listeners and applications objects.Andrey Zelenkov2-0/+53
2019-08-08Tests: fixed modules version parsing.Andrey Zelenkov1-1/+1
2019-08-07Tests: Java multipart test.Andrey Zelenkov2-0/+132
2019-08-06Tests: rerun tests for each module version.Andrey Zelenkov6-6/+40
Rerun supported for Python, PHP, Perl, Ruby, and Java modules.
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