Andrey Zelenkov
3faa154223
Tests: adjusted check_version()'s.
2018-02-05 15:39:11 +03:00
Max Romanov
f7195e7016
Fixed typo in assertion statement introduced in 4979fe09d9cd.
...
Found by Coverity (CID 260375).
2018-02-02 14:08:18 +03:00
Alexander Borisov
960962ddce
Added Perl support.
2018-01-31 15:47:00 +03:00
Konstantin Pavlov
311db93f00
Generated Dockerfiles for unit 0.4.
2018-01-30 19:09:57 +03:00
Konstantin Pavlov
23268a1cd1
Introduced docker images building tools.
2018-01-30 17:20:28 +03:00
Max Romanov
9cd4fdbdb7
Introducing extended app process management.
...
- Pre-fork 'processes.spare' application processes;
- fork more processes to keep 'processes.spare' idle processes;
- fork on-demand up to 'processes.max' count;
- scale down idle application processes above 'processes.spare' after
'processes.idle_timeout';
- number of concurrently started application processes also limited by
'processes.spare' (or 1, if spare is 0).
2018-01-29 16:17:36 +03:00
Andrey Zelenkov
a36babddef
Tests: added keep-alive test.
2018-01-30 16:17:08 +03:00
Andrey Zelenkov
afa0fd9a71
Tests: reworked TestUnitHTTP.
2018-01-30 16:17:01 +03:00
Andrey Zelenkov
9f48f2b3e7
Tests: added methods to manage unit configuration.
2018-01-30 16:16:52 +03:00
Andrey Zelenkov
f115cb7032
Tests: small fixes.
2018-01-30 16:16:42 +03:00
Andrey Zelenkov
cb80be00a5
Tests: fixed test for listener without port.
...
Broken after 879868522dbf.
2018-01-30 16:16:26 +03:00
Andrei Belov
51009004af
Packages: "test" and "test-debug" targets for deb.
2018-01-26 17:44:27 +03:00
Andrei Belov
9d1410a0bb
Packages: "test" and "test-debug" targets for rpm.
2018-01-26 17:44:26 +03:00
Valentin Bartenev
7fe8f72364
HTTP parser: simplified nxt_http_parse_field_value().
...
There's no need in loop after 4ac474b68658.
Found by Coverity (CID 259713).
2018-01-25 10:31:22 +03:00
Andrey Zelenkov
4b19848e4e
Tests: ignore unexpected successes in return code.
2018-01-24 16:37:56 +03:00
Andrey Zelenkov
17e1a19063
Tests: added test for QUERY_STRING variable.
2018-01-24 15:45:39 +03:00
Andrey Zelenkov
955ba9d7dd
Tests: added test with "Transfer-Encoding" header in 204 response.
2018-01-24 15:43:36 +03:00
Andrey Zelenkov
331514fcf7
Tests: using "expectedFailure" decorator instead of assertTry().
2018-01-24 15:43:04 +03:00
Sergey Kandaurov
771e9d3cc3
Fixed formatting in nxt_sprintf() and logging.
2018-01-24 15:16:33 +03:00
Sergey Kandaurov
67c64a99fb
Using size_t for the field width type of the "%*s" specifier.
2018-01-24 15:16:32 +03:00
Valentin Bartenev
477e8177b7
HTTP parser: restricting control chars in header fields values.
...
This also fixes an infinite loop here (found with honggfuzz).
2018-01-24 15:02:56 +03:00
Andrei Belov
7e3480b046
Packages: explicit Python module versioning in Debian examples.
2018-01-22 16:39:32 +03:00
Andrei Belov
0c4ec72ca8
Packages: added support for Amazon Linux.
2018-01-22 16:39:31 +03:00
Andrei Belov
be8df0631a
Packages: improved per-module dependency tracking.
2018-01-22 16:39:31 +03:00
Valentin Bartenev
d1f29ed77e
Python: fixed the "wsgi.errors" environment variable name.
...
This closes issue #76 on GitHub.
2018-01-19 19:45:11 +03:00
Valentin Bartenev
01ec9a5dba
Ability to validate configuration options with multiple types.
2018-01-18 15:52:44 +03:00
Max Romanov
2db8e586e5
Reduced duplication of validated app config options.
...
Common options moved to separate array. Application-specific arrays refers
to common options.
2018-01-18 09:08:25 +03:00
Max Romanov
c2918a0014
Introducing pretty NXT_CONF_VLDT_END macro.
2018-01-18 09:08:16 +03:00
Andrey Zelenkov
a949c2f088
Tests: using LF line ending for test files.
2018-01-17 15:52:01 +03:00
Igor Sysoev
37a713c217
HTTP: fixed chunked response on 32-bit platforms.
2018-01-16 11:48:38 +03:00
Valentin Bartenev
0c38ff0e66
Checking for major HTTP version.
2018-01-15 20:50:20 +03:00
Valentin Bartenev
a073616fc3
Improved HTTP version representation.
2018-01-15 20:50:14 +03:00
Valentin Bartenev
3fb140d6d2
HTTP parser: improved error reporting.
2018-01-15 20:49:59 +03:00
Andrey Zelenkov
819b43fc2d
Tests: use "data" parameter in Request() to send body.
2018-01-15 19:59:47 +03:00
Andrey Zelenkov
263741fb44
Tests: style.
2018-01-15 19:57:28 +03:00
Valentin Bartenev
84eba82bc8
Version bump.
2018-01-15 18:37:07 +03:00
Igor Sysoev
3cc529ddea
Added tag 0.4 for changeset 6071f4300f76
2018-01-15 18:00:48 +03:00
Andrey Zelenkov
4c1c614099
Tests: exit with runner result.
2018-01-15 17:51:54 +03:00
Andrey Zelenkov
d229549101
Tests: fixed arguments order in getattr() call.
2018-01-15 17:50:10 +03:00
Andrey Zelenkov
43e36d91e5
Tests: added test for 'atexit'.
2018-01-15 16:06:33 +03:00
Andrey Zelenkov
b217a1e058
Tests: simple python application.
2018-01-15 16:06:26 +03:00
Andrey Zelenkov
b12f1ea42d
Tests: assertTry() function introduced.
2018-01-15 15:57:32 +03:00
Andrey Zelenkov
75af52fd65
Tests: check_version() function introduced.
2018-01-15 15:00:44 +03:00
Igor Sysoev
ac433f1f30
Added version 0.4 CHANGES.
2018-01-15 15:05:25 +03:00
Igor Sysoev
a35732bf05
PHP: "--lib-static" option uses "--lib-path" option.
2018-01-15 15:05:22 +03:00
Valentin Bartenev
845b373bda
Fixed reading of the rest of body, broken after 5817734dd9b9.
2018-01-12 21:36:24 +03:00
Igor Sysoev
c9ae198016
PHP: added "--lib-static" configure option.
...
The libraries returned by "php-config --libs" are required to link with
static libphp.a. Dynamic libphp.so contains the required libraries names.
2018-01-12 18:15:58 +03:00
Igor Sysoev
059695eeed
HTTP: request body length was not passed to application.
...
The bug has appeared in changeset 5817734dd9b9.
2018-01-12 17:54:50 +03:00
Max Romanov
fa49d042a8
PHP: Terminating names with zero.
...
Fixing issue introduced in changeset 462:17a2c9b27b57 .
2018-01-12 16:37:42 +03:00
Max Romanov
aad4229cbc
Initializing script_name.start before using.
...
This makes gcc 4.4.6 happy.
2018-01-12 11:19:00 +03:00