History log of /unit/src/nxt_runtime.c (Results 26 – 50 of 98)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1302:d4c6a91f7091 26-Nov-2019 Tiago Natel

Refactor of process init.

Introduces the functions nxt_process_init_create() and
nxt_process_init_creds_set().


Revision tags: 1.13.0-1, 1.13.0
# 1254:aae6699f4eee 29-Oct-2019 Hong Zhi Dao

Process port refactoring.

- Introduced nxt_runtime_process_port_create().
- Moved nxt_process_use() into nxt_process.c from nxt_runtime.c.
- Renamed nxt_runtime_process_remove_pid() as nxt_runtime_p

Process port refactoring.

- Introduced nxt_runtime_process_port_create().
- Moved nxt_process_use() into nxt_process.c from nxt_runtime.c.
- Renamed nxt_runtime_process_remove_pid() as nxt_runtime_process_remove().
- Some public functions transformed to static.

This closes #327 issue on GitHub.

show more ...


# 1253:b225cd619dbb 29-Oct-2019 Max Romanov

Allocating process init struct from runtime memory pool.

This avoids memory leak reports from the address sanitizer.


# 1251:5ce938471a4e 28-Oct-2019 Tiago Natel

Releasing the memory of removed thread pools at exit.


# 1238:2da0e59ed1f5 22-Oct-2019 Max Romanov

Fixing idle connection close function.

There was a typo: nxt_queue_head() used instead of nxt_queue_first() in
connection iteration loop. This prevents idle connection close on quit.

This closes #

Fixing idle connection close function.

There was a typo: nxt_queue_head() used instead of nxt_queue_first() in
connection iteration loop. This prevents idle connection close on quit.

This closes #334 issue on GitHub.
Thanks to 洪志道 (Hong Zhi Dao).

show more ...


Revision tags: 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0
# 1182:325b315e48c4 19-Sep-2019 Tiago de Bem Natel de Moura

Initial applications isolation support using Linux namespaces.


Revision tags: 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0
# 1013:4ca8428d231b 22-Mar-2019 Max Romanov

Destroying pool in case of error.

This closes #233 issue on GitHub.
Thanks to 洪志道 (Hong Zhi Dao).


Revision tags: 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7, 1.6-1, 1.6, 1.5-1, 1.5
# 818:a0f73599f4e8 23-Oct-2018 Valentin Bartenev

Removed unused "--upstream" command line option.


# 804:fe8d2dea28dd 09-Oct-2018 Valentin Bartenev

Renamed "go" application type to "external".

There's nothing specific to Go language. This type of application object can
be used to run any external application that utilizes libunit API.


Revision tags: 1.4-2, 1.4
# 774:b21709350c49 20-Sep-2018 Valentin Bartenev

Controller: certificates storage interface.


# 754:c8e0f350f0d4 10-Aug-2018 Max Romanov

Stopping all application processes if router process dies.

Unit master process restarts the router if the router accidentally dies.
New router process receives the configuration from controller and

Stopping all application processes if router process dies.

Unit master process restarts the router if the router accidentally dies.
New router process receives the configuration from controller and starts
configured applications. The information of running applications cannot
be transferred to router because currently there is no persistent application
identifier. To avoid orphan application processes started by died router,
master process stops all currently running applications once it receives
SIGCHLD for router process.

show more ...


Revision tags: 1.3
# 704:1fcac04f0a15 25-Jun-2018 Igor Sysoev

Removed '\r' and '\n' artifact macros.


# 703:2d536dde84d2 25-Jun-2018 Valentin Bartenev

Introduced nxt_length() macro.


# 697:b73f6d3709c2 18-Jun-2018 Igor Sysoev

Fixed exit status on start failure.

This and previous commit close #131 issue on GitHub.


# 696:9476693a47bd 18-Jun-2018 Igor Sysoev

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 re

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.

show more ...


# 695:300072a70e40 18-Jun-2018 Igor Sysoev

Removed unused single process type.


Revision tags: 1.2, 1.1
# 649:1ddd660aa4cf 18-Apr-2018 Valentin Bartenev

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

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.

show more ...


# 643:fbfc62ae219c 13-Apr-2018 Valentin Bartenev

Improved "unitd" command line help.


Revision tags: 1.0
# 598:70677ad404c1 29-Mar-2018 Igor Sysoev

nxt_lvlhsh_each() refactoring and nxt_lvlhsh_each_init().


# 597:e6586cced0ab 29-Mar-2018 Igor Sysoev

Using nxt_lvlhsh_peek() for port hashes.


# 593:ef19a2b0f508 29-Mar-2018 Igor Sysoev

Removed unused macros and functions.


Revision tags: 0.7
# 564:762f8c976ead 05-Mar-2018 Valentin Bartenev

Reduced number of critical log levels.


Revision tags: 0.6, 0.5
# 494:7c83ddcc1c42 24-Jan-2018 Sergey Kandaurov

Fixed formatting in nxt_sprintf() and logging.


Revision tags: 0.4, 0.3
# 382:0b999f4f3545 20-Nov-2017 Max Romanov

Fixing Coverity warnings.

CID 200496
CID 200494
CID 200490
CID 200489
CID 200483
CID 200482
CID 200472
CID 200465


Revision tags: 0.2
# 364:742e5c203c6d 19-Oct-2017 Max Romanov

Supporting concurrent shared memory fd receive in router.

Two different router threads may send different requests to single
application worker. In this case shared memory fds from worker
to router

Supporting concurrent shared memory fd receive in router.

Two different router threads may send different requests to single
application worker. In this case shared memory fds from worker
to router will be send over 2 different router ports. These fds
will be received and processed by different threads in any order.

This patch made possible to add incoming shared memory segments in
arbitrary order. Additionally, array and memory pool are no longer
used to store segments because of pool's single threaded nature.

Custom array-like structure nxt_port_mmaps_t introduced.

show more ...


1234