Max Romanov
18c66cb07d
Improving configuration field mapping names.
...
Avoiding word 'common' as too common.
Couple of assertions reduced to error messages.
2018-02-13 21:28:21 +03:00
Igor Sysoev
5365dadb4b
signalfd() notification should be ignored if nothing was read.
2018-02-12 20:09:13 +03:00
Andrey Zelenkov
e2c3fa6304
Tests: perl module.
2018-02-12 19:32:54 +03:00
Valentin Bartenev
9646772a00
HTTP: the Date response header.
2018-02-12 16:58:40 +03:00
Valentin Bartenev
dc50773e51
Version bump.
2018-02-12 16:58:38 +03:00
Valentin Bartenev
582fd34f35
Added tag 0.6 for changeset 88831b81e384
2018-02-09 19:24:46 +03:00
Valentin Bartenev
87f0dce1f6
Generated Dockerfiles for Unit 0.6.
2018-02-09 19:07:55 +03:00
Valentin Bartenev
061343520d
Added version 0.6 CHANGES.
2018-02-09 19:07:55 +03:00
Valentin Bartenev
24d07cfdd2
Made nxt_assert() statements to be compiled only with debug.
2018-02-09 19:07:55 +03:00
Valentin Bartenev
fc496c19ac
Changed the default number of spare processes to 0.
2018-02-09 19:06:53 +03:00
Valentin Bartenev
9d683d37b1
Fixed starting of applications with specified version.
...
The "type" option can contain version number that need to be cut off before
calling nxt_app_parse_type().
The bug was introduced in 4979fe09d9cd.
2018-02-09 19:06:53 +03:00
Valentin Bartenev
c890f53d10
Version bump.
2018-02-09 19:06:53 +03:00
Andrei Belov
c424e92fed
Docker: typo fixed.
2018-02-08 19:38:37 +03:00
Valentin Bartenev
7daf2cbfef
Added tag 0.5 for changeset 1ba4d13d222b
2018-02-08 19:11:53 +03:00
Valentin Bartenev
01c6f149a6
Generated Dockerfiles for Unit 0.5.
2018-02-08 18:59:02 +03:00
Valentin Bartenev
40a360b640
Added version 0.5 CHANGES.
2018-02-08 18:42:51 +03:00
Igor Sysoev
11d5206866
Router: fixed freed memory access race condition.
2018-02-08 16:51:49 +03:00
Andrey Zelenkov
0d032c1036
Tests: expectedFailure removed from test_python_keepalive.py.
...
Fix committed in 28a2b93de75f.
2018-02-08 16:29:37 +03:00
Alexander Borisov
433eadc2e9
Perl: fixed IO-Object duplication bug.
2018-02-08 16:28:52 +03:00
Valentin Bartenev
31f72401d9
Fixed reading of the rest of body, again.
...
The last attempt in ee5f278e8c81 wasn't enough.
2018-02-07 18:17:41 +03:00
Andrei Belov
07303fb0d7
Docker: added Perl image.
2018-02-07 17:26:41 +03:00
Andrei Belov
dc96d08961
Packages: fixed building of deb packages with redefined versions.
2018-02-07 17:26:38 +03:00
Andrei Belov
539caf0946
Packages: added Perl package.
2018-02-07 17:26:37 +03:00
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