Andrei Belov
7830026368
Perl: use ExtUtils::Embed in configure.
2018-02-07 17:26:30 +03:00
Andrei Belov
fc22d1d76d
Packages: fixed example configurations after fa714d76592b.
2018-02-07 17:26:29 +03:00
Andrey Zelenkov
949ba262cc
Style fixes.
2018-02-07 15:34:42 +03:00
Max Romanov
d2c85a2d9e
Fixed processing of application response in router.
...
If the first buffer contained only header and there were other buffers in chain,
those buffers were not processed. In particular, this broke Perl application
responses with empty body.
2018-02-07 13:47:04 +03:00
Alexander Borisov
79259d1ebd
Perl: added more checks for 'body' variable
2018-02-06 21:13:57 +03:00
Andrey Zelenkov
b4e467e669
Fixed configuration checks for "max" property.
2018-02-06 20:31:48 +03:00
Andrey Zelenkov
5c35d30cc8
Tests: more tests for processes.
2018-02-06 20:31:48 +03:00
Andrey Zelenkov
993f8f2d5c
Tests: changed process counting in test_python_procman.py.
2018-02-06 20:31:42 +03:00
Andrey Zelenkov
ff9fa11cd9
Tests: minor fixes in test_python_procman.py.
2018-02-06 20:17:09 +03:00
Andrey Zelenkov
91dc1303f5
Tests: added "Connection: close" header for default requests.
2018-02-05 15:39:23 +03:00
Andrey Zelenkov
0379f927b3
Tests: simplified test for query string.
2018-02-05 15:39:16 +03:00
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