Andrey Zelenkov
38cfe4cf3d
Tests: added USR1 signal test for unit.log.
2019-10-23 16:59:53 +03:00
Andrey Zelenkov
1033cfa3b0
Tests: more static tests.
2019-10-23 16:59:53 +03:00
Andrey Zelenkov
47436e9be5
Tests: improved handshake for websocket tests.
2019-10-23 16:26:06 +03:00
Andrey Zelenkov
f878b6eea5
Tests: style.
2019-10-23 16:05:52 +03:00
Andrey Zelenkov
f5b1ac0dc6
Tests: check initial configuration in test_access_log.py.
2019-10-23 16:05:44 +03:00
Andrey Zelenkov
31bbc755fd
Tests: check initial configuration in test_routing.py.
2019-10-23 16:05:40 +03:00
Andrey Zelenkov
1bece759a3
Tests: added flush() in "errors_write" Python application.
2019-10-23 16:05:35 +03:00
Tiago Natel
0beb8ea5e1
Fixed passing false in namespace flags.
...
This patch closes #328 in github.
2019-10-11 10:00:06 +00:00
Andrey Zelenkov
486b202cc1
Tests: default port number used.
2019-10-08 00:28:40 +03:00
Andrey Zelenkov
faf4ad5478
Tests: increased subprocess timeout on Unit exit.
...
Also changed order of subprocess status checks.
_terminate_process() method removed.
2019-10-08 00:28:40 +03:00
Andrey Zelenkov
d82f125368
Tests: fixed hanging of Go tests.
...
This closes #319 issue on GitHub.
2019-09-25 19:21:42 +03:00
Andrey Zelenkov
702ca2b853
Tests: static tests with file system objects.
2019-09-24 16:13:20 +03:00
Andrey Zelenkov
2503226729
Tests: serving static files.
2019-09-19 17:11:37 +03:00
Tiago de Bem Natel de Moura
c554941b4f
Initial applications isolation support using Linux namespaces.
2019-09-19 15:25:23 +03:00
Andrey Zelenkov
26fcb46137
Tests: added read_buffer_size option in http().
2019-09-18 00:25:57 +03:00
Andrey Zelenkov
23215c839f
Tests: head() method introduced.
2019-09-17 21:15:15 +03:00
Valentin Bartenev
6352c21a58
HTTP parser: fixed parsing of target after literal space character.
...
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-17 18:40:21 +03:00
Andrey Zelenkov
b5394c3956
Tests: fixed features check.
2019-09-16 17:49:49 +03:00
Andrey Zelenkov
65ca2d7b19
Tests: refactored prerequisites model.
2019-09-14 14:44:35 +03:00
Andrey Zelenkov
962cdb6659
Tests: prepare_env() introduced.
2019-09-16 15:37:32 +03:00
Andrey Zelenkov
13ecbe333a
Tests: style and minor fixes in java.py.
2019-09-16 15:37:32 +03:00
Andrey Zelenkov
a5b9c9241e
Tests: more comments.
2019-09-16 15:37:32 +03:00
Andrey Zelenkov
7152162886
Tests: set default "unsafe" value.
2019-09-16 15:37:32 +03:00
Andrey Zelenkov
f10a8a03a1
Tests: Java websockets tests.
2019-09-05 15:30:09 +03:00
Max Romanov
2b8cab1e24
Java: introducing websocket support.
2019-09-05 15:27:32 +03:00
Andrey Zelenkov
3e23afb0d2
Tests: increased read_timeout for websockets tests.
2019-09-03 21:23:32 +03:00
Andrey Zelenkov
1cfd329b3d
Tests: fixed recv_bytes() in websockets.py.
2019-09-02 18:03:33 +03:00
Andrey Zelenkov
790b4f8f00
Tests: removed duplicate websocket tests.
2019-09-02 18:03:17 +03:00
Andrey Zelenkov
70e808040d
Tests: prevented writing non-chopped frames to the closed socket.
2019-09-02 14:55:00 +03:00
Andrey Zelenkov
cb36616132
Tests: prevented writing to the closed socket for websocket tests.
2019-08-30 16:59:35 +03:00
Andrey Zelenkov
ccd6c0dc05
Tests: websockets style fixes.
2019-08-30 15:37:44 +03:00
Andrey Zelenkov
c47af243b0
Tests: removed keepalive_interval for websocket tests.
...
Also increased read_timeout in frame_read() for slow hosts.
2019-08-22 21:28:03 +03:00
Andrey Zelenkov
72b56388b7
Tests: Node.js websockets tests tuned.
2019-08-22 18:28:23 +03:00
Andrey Zelenkov
9bbf54e23e
Tests: Node.js websockets.
2019-08-22 15:33:41 +03:00
Andrey Zelenkov
08601bbbf0
Tests: "--unsafe" option introduced.
2019-08-22 15:26:15 +03:00
Andrey Zelenkov
b4c09e2954
Tests: reverted rerun for Java tests in 5e429a7f133c.
...
Each testcase should also recompile to be recompiled.
So backed out for now.
2019-08-21 14:24:23 +03:00
Andrey Zelenkov
4d7576d323
Tests: print decoded strings in detailed mode, if possible.
2019-08-14 16:26:47 +03:00
Andrey Zelenkov
ac316ff7a5
Tests: fixed port reusing to avoid access issues.
2019-08-14 15:53:58 +03:00
Max Romanov
4bef4256c0
Java: implementing multipart message support.
...
This closes #265 issue on GitHub.
2019-08-14 15:24:41 +03:00
Andrey Zelenkov
8904c87c6b
Tests: goftm used for Go applications.
2019-08-14 14:06:28 +03:00
Andrey Zelenkov
b3b7013eda
Tests: added tests for deleting listeners and applications objects.
2019-08-14 14:06:22 +03:00
Andrey Zelenkov
78fbf9ee60
Tests: fixed modules version parsing.
2019-08-08 15:47:26 +03:00
Andrey Zelenkov
e8d1c760d6
Tests: Java multipart test.
2019-08-07 14:43:38 +03:00
Andrey Zelenkov
c8c259b972
Tests: rerun tests for each module version.
...
Rerun supported for Python, PHP, Perl, Ruby, and Java modules.
2019-08-06 18:25:13 +03:00
Valentin Bartenev
7fd9444728
Node.js: returning "this" from writeHead() to allow chaining.
...
In Node.js version 11.10.0 and later, the writeHead() function returns "this".
2019-08-06 16:24:11 +03:00
Andrey Zelenkov
fdf570f1d9
Tests: added delay before SIGQUIT in access_log partial tests.
...
This change is necessary to avoid race between
client connection close and Unit close.
Also "read_timeout" value decreased to speed up tests.
2019-08-01 18:15:00 +03:00
Axel Duch
7785c96c1a
Added routing based on request scheme.
...
Scheme matches exact string “http” or “https”.
2019-07-24 13:47:35 +03:00
Andrey Zelenkov
b1165d2edc
Tests: fixed test_java_conf_error to pass with "--modules=" option.
2019-07-23 14:58:27 +03:00
Andrey Zelenkov
a920215a5c
Tests: more Java tests.
...
Added test with war file and error configuration test.
2019-07-17 17:48:35 +03:00
Andrey Zelenkov
4153fad89d
Tests: added PHP tests with "script" and "index" options.
2019-07-17 16:50:24 +03:00