Commit graph

772 commits

Author SHA1 Message Date
Max Romanov
6da1207d95 Skipping idle state when port already closed. 2018-03-15 17:08:39 +03:00
Max Romanov
7958a22de0 Ignoring response for already terminated request.
Request can be terminated because of invalid response headers and content
should be ignored in this case.
2018-03-14 12:03:47 +03:00
Valentin Bartenev
bebc5845f8 Capitalization in the "Server" field. 2018-03-13 20:32:47 +03:00
Max Romanov
1ac9db4750 Releasing application on configuration failure. 2018-03-13 15:32:06 +03:00
Max Romanov
ee092b64eb Socket configuration should retain application.
This retains application during reconfiguration if an incoming connection
was already established before the reconfiguration, but no request was yet
created for the connection and thus no application was yet assigned to
the request.
2018-03-07 19:42:06 +03:00
Sergey Kandaurov
4f712e3fd0 Added support for shm_open(SHM_ANON) extension. 2018-03-06 13:55:51 +00:00
Andrey Zelenkov
30a32c2f09 Tests: detect alerts and Sanitizer errors. 2018-03-06 16:58:47 +03:00
Valentin Bartenev
912a49c609 Reduced number of critical log levels. 2018-03-05 17:32:50 +03:00
Andrei Belov
f2090bce21 Packages: added Fedora support.
Tested on currently supported releases: Fedora 26, Fedora 27.
2018-02-28 09:31:38 +00:00
Andrei Belov
2d2b5048bc Packages: added openSUSE Leap, openSUSE Tumbleweed, SLES support. 2018-03-01 23:03:03 +03:00
Andrei Belov
1f06ccb6d8 Packages: fixed changelog generation for rpms. 2018-03-01 23:03:03 +03:00
Andrei Belov
49c58909ad Packages: include unit.spec under specs target. 2018-03-01 23:03:03 +03:00
Andrei Belov
5d5117ce34 Packages: unified check-build-depends target. 2018-03-01 23:03:03 +03:00
Andrei Belov
d27e100b44 Packages: perl-ExtUtils-Embed added to unit-perl dependencies on CentOS. 2018-03-01 23:03:03 +03:00
Andrei Belov
231027e257 Packages: added epel-release to unit-go dependencies on CentOS 6. 2018-03-01 23:23:31 +03:00
Andrei Belov
b2fb20780a Packages: added essential build dependencies. 2018-02-28 10:12:25 +03:00
Andrey Zelenkov
6aa00fa8d0 Tests: more configuration tests. 2018-02-26 20:18:24 +03:00
Andrey Zelenkov
a89747e97c Tests: more perl tests. 2018-02-26 19:53:40 +03:00
Andrey Zelenkov
6d79c559b5 Tests: handle ConnectionRefusedError in TestUnitHTTP.http(). 2018-02-20 20:34:46 +03:00
Andrey Zelenkov
09f2009df5 Tests: reworked python tests with application. 2018-02-20 20:34:41 +03:00
Max Romanov
babf67712e Removed unwanted assertions. 2018-02-20 19:00:30 +03:00
Andrey Zelenkov
ee39da0e00 Tests: removed unused code in unit.py. 2018-02-14 17:14:16 +03:00
Valentin Bartenev
27b00629e1 Fixed race condition while discovering modules.
Previously, the discovery process might exit before the main process
received a list of available modules.
2018-02-14 16:33:35 +03:00
Andrei Belov
94049bf30f Docs: reduced number of similar entries in changes.xml. 2018-02-14 14:40:04 +03:00
Andrei Belov
951d3b26cc Docs: extended xsls template for changelogs generation. 2018-02-14 14:00:37 +03:00
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