Igor Sysoev
cb36b07686
Removing Unix control socket on start failure.
...
The bug had appeared in 5cc5002a788e when process type has been
converted to bitmask. This commit reverts the type back to a number.
This commit is related to #131 issue on GitHub.
2018-06-18 17:14:30 +03:00
Igor Sysoev
6273819080
Removed unused single process type.
2018-06-18 17:14:25 +03:00
Valentin Bartenev
e96374bfa1
Version bump.
2018-06-13 15:42:42 +03:00
Andrey Zelenkov
f2a856aa3b
Tests: Go application tests.
2018-06-08 18:32:55 +03:00
Andrey Zelenkov
2b39ed5dfb
Tests: added tests for "precision" option in php.ini.
2018-06-07 21:13:55 +03:00
Valentin Bartenev
0f0fb35620
Added tag 1.2 for changeset fbe7f5a3867e
2018-06-07 17:48:45 +03:00
Valentin Bartenev
b1bdf309e2
Generated Dockerfiles for Unit 1.2.
2018-06-07 17:46:46 +03:00
Valentin Bartenev
9dd0fa87ad
Added version 1.2 CHANGES.
2018-06-07 16:43:37 +03:00
Valentin Bartenev
8f278a5fed
PHP: added setting of individual configuration options.
2018-06-07 16:17:32 +03:00
Valentin Bartenev
388390888b
PHP: added setting of php.ini configuration file path.
2018-06-07 16:17:31 +03:00
Valentin Bartenev
771dc2f55e
Exported functions for accessing configuration values.
2018-06-07 16:17:30 +03:00
Valentin Bartenev
ceeb301881
Go: specifying command line arguments to the executable.
...
This closes #110 issue on GitHub.
2018-06-06 16:53:35 +03:00
Andrey Zelenkov
857bddeea6
Tests: added keep-alive with reconfiguration test.
2018-05-30 19:29:40 +03:00
Igor Sysoev
ff6ca2a82c
Fixed keep-alive hanging after reconfiguration.
2018-05-30 18:46:05 +03:00
Igor Sysoev
e54fb892a4
PHP: fixed building on MacOSX with --ld-opt= option.
2018-05-30 18:31:26 +03:00
Max Romanov
38e40fa857
PHP: using generated dependencies in makefile.
2018-05-30 18:19:39 +03:00
Igor Sysoev
d3356f7ad2
Added version number to main process title.
2018-05-29 19:51:27 +03:00
Andrey Zelenkov
569a907dbb
Tests: configuration of environment variables.
2018-05-29 15:29:01 +03:00
Valentin Bartenev
d7e6e2bd8c
Configuration of environment variables for application processes.
2018-05-28 20:55:23 +03:00
Sergey Kandaurov
3befb08204
Fixed a dead store.
...
Found by Clang Static Analyzer.
2018-05-25 16:18:34 +03:00
Sergey Kandaurov
a9ea218e7e
Using getrandom() libc interface, SYS_getrandom fixes.
...
The interface is available since Glibc 2.25, and FreeBSD 12.0.
2018-05-24 20:35:47 +03:00
Andrey Zelenkov
3b7238996a
Tests: initial PHP application tests.
2018-05-22 20:20:14 +03:00
Andrey Zelenkov
7d224bfc9e
Tests: added tests for SERVER_SOFTWARE variable.
2018-05-21 16:41:33 +03:00
Valentin Bartenev
3e8dbfe5ff
Added SERVER_SOFTWARE request meta-variable.
2018-05-21 16:14:24 +03:00
Andrei Belov
8a156a9fc4
Packages: Ubuntu 18.10 "bionic" support added.
2018-05-14 14:11:37 +03:00
Andrei Belov
bfccdea8e1
Packages: fixed log and pid paths on CentOS 7.
...
This closes #120 issue on GitHub.
2018-05-14 11:57:40 +03:00
Max Romanov
07204789bc
Eliminating possible NULL pointer dereference.
...
Found by Coverity (CID 276138).
2018-04-27 20:32:50 +03:00
Valentin Bartenev
10898568a3
Version bump.
2018-04-27 16:48:14 +03:00
Valentin Bartenev
4814fa7efe
Added tag 1.1 for changeset 3f710b55c226
2018-04-26 18:33:11 +03:00
Valentin Bartenev
472e9b2a24
Generated Dockerfiles for Unit 1.1.
2018-04-26 18:31:13 +03:00
Valentin Bartenev
62a89eed60
Added version 1.1 CHANGES.
2018-04-26 18:30:06 +03:00
Andrey Zelenkov
d9f8479375
Tests: response handling improved.
2018-04-26 17:37:24 +03:00
Andrey Zelenkov
a44d358f29
Tests: added test for callable write() in Python.
2018-04-26 17:37:24 +03:00
Valentin Bartenev
d1b0f74550
Improved wording in CHANGES.
2018-04-26 16:47:55 +03:00
Max Romanov
179819dbee
Controller waits READY message from router.
...
This required to avoid racing condition when controller receive router
port before router receives controller port.
2018-04-26 16:44:20 +03:00
Valentin Bartenev
17160e9352
Python: added a missing slash in the path to "pyenv.cfg".
...
This closes #115 issue on GitHub.
2018-04-25 15:11:01 +03:00
Valentin Bartenev
749f7c0340
Support for PEP 405 virtual environments.
...
This closes #96 issue on GitHub.
2018-04-24 20:49:36 +03:00
Nick Shadrin
24a292a362
Fixed typo in RPM packages.
2018-04-24 18:51:22 +03:00
Andrey Zelenkov
0658f9bd71
Tests: added access log test with unix socket.
2018-04-23 15:26:52 +03:00
Andrey Zelenkov
b6226d6945
Tests: added delay to wait for requests logging.
2018-04-23 15:26:46 +03:00
Andrey Zelenkov
f264adeae9
Tests: removed alert skips after b6ca49c1da1b.
2018-04-23 15:15:09 +03:00
Valentin Bartenev
5371891492
Fixed segfault when two modules have the same type and version.
...
The bug appeared in 217e48a3b091.
This closes #104 issue on GitHub.
2018-04-20 23:57:46 +03:00
Igor Sysoev
8ed36563d1
Fixed alerts about freeing non-freeable memory on connection close.
...
The nxt_conn_t object is allocated by nxt_zget() and should not be freed.
2018-04-20 19:46:36 +03:00
Igor Sysoev
b95d5b8882
Prevention of freeing non-freeable memory pool block.
2018-04-20 19:46:36 +03:00
Max Romanov
ad36c8ca8d
Go: fixed request.Read() behaviour for EOF.
...
This closes #108 issue on GitHub.
2018-04-20 17:23:43 +03:00
Valentin Bartenev
a20830ff55
Router: fixed race condition while access log reopening.
...
In order to reopen access log, the router process creates a memory pool
and allocates a buffer to send RPC message for the main process.
Previously, the memory pool was destroyed when RPC response handler was
called. It appeared, that the buffer completion handler could be not
triggered by that time and still remained in a queue.
Now the memory pool is destroyed only after both events are happen.
2018-04-19 19:48:58 +03:00
Alexander Borisov
da22c2ca96
Python: returning write() callable object from start_response().
...
According to PEP (3)333 the start_respose() function must return
a write() callable.
This closes #107 issue on GitHub.
2018-04-19 17:35:07 +03:00
Valentin Bartenev
b06a0c95d0
Removed duplicating socket address parsing function.
...
This also fixes #101 issue on GitHub. The function previously used to
parse IPv6 address of control socket was broken. Now the working function
is used instead.
2018-04-18 17:28:22 +03:00
Valentin Bartenev
54ccb32333
Added missing cleanup when nxt_port_socket_write() failed.
2018-04-18 17:28:04 +03:00
Andrey Zelenkov
961e8d800f
Tests: re-opening access log file.
2018-04-18 16:02:43 +03:00