Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-03-12 | Using disk file to store large request body. | Max Romanov | 1 | -0/+18 | |
This closes #386 on GitHub. | |||||
2019-12-06 | Moved credential-related code to nxt_credential.c. | Tiago Natel | 1 | -1/+1 | |
This is required to avoid include cycles, as some nxt_clone_* functions depend on the credential structures, but nxt_process depends on clone structures. | |||||
2019-11-26 | Refactor of process init. | Tiago Natel | 1 | -2/+5 | |
Introduces the functions nxt_process_init_create() and nxt_process_init_creds_set(). | |||||
2019-10-29 | Process port refactoring. | Hong Zhi Dao | 1 | -29/+42 | |
- 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. | |||||
2019-10-29 | Allocating process init struct from runtime memory pool. | Max Romanov | 1 | -0/+4 | |
This avoids memory leak reports from the address sanitizer. | |||||
2019-10-28 | Releasing the memory of removed thread pools at exit. | Tiago Natel | 1 | -0/+2 | |
2019-10-22 | Fixing idle connection close function. | Max Romanov | 1 | -1/+1 | |
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). | |||||
2019-09-19 | Initial applications isolation support using Linux namespaces. | Tiago de Bem Natel de Moura | 1 | -1/+13 | |
2019-03-22 | Destroying pool in case of error. | Max Romanov | 1 | -2/+1 | |
This closes #233 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao). | |||||
2018-10-23 | Removed unused "--upstream" command line option. | Valentin Bartenev | 1 | -14/+0 | |
2018-10-09 | Renamed "go" application type to "external". | Valentin Bartenev | 1 | -2/+2 | |
There's nothing specific to Go language. This type of application object can be used to run any external application that utilizes libunit API. | |||||
2018-09-20 | Controller: certificates storage interface. | Valentin Bartenev | 1 | -0/+17 | |
2018-08-10 | Stopping all application processes if router process dies. | Max Romanov | 1 | -1/+1 | |
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. | |||||
2018-06-25 | Removed '\r' and '\n' artifact macros. | Igor Sysoev | 1 | -1/+1 | |
2018-06-25 | Introduced nxt_length() macro. | Valentin Bartenev | 1 | -11/+11 | |
2018-06-18 | Fixed exit status on start failure. | Igor Sysoev | 1 | -9/+12 | |
This and previous commit close #131 issue on GitHub. | |||||
2018-06-18 | Removing Unix control socket on start failure. | Igor Sysoev | 1 | -2/+2 | |
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 | Removed unused single process type. | Igor Sysoev | 1 | -31/+1 | |
2018-04-18 | Removed duplicating socket address parsing function. | Valentin Bartenev | 1 | -279/+3 | |
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-13 | Improved "unitd" command line help. | Valentin Bartenev | 1 | -2/+5 | |
2018-03-29 | nxt_lvlhsh_each() refactoring and nxt_lvlhsh_each_init(). | Igor Sysoev | 1 | -3/+1 | |
2018-03-29 | Using nxt_lvlhsh_peek() for port hashes. | Igor Sysoev | 1 | -8/+4 | |
2018-03-29 | Removed unused macros and functions. | Igor Sysoev | 1 | -7/+0 | |
2018-03-05 | Reduced number of critical log levels. | Valentin Bartenev | 1 | -20/+16 | |
2018-01-24 | Fixed formatting in nxt_sprintf() and logging. | Sergey Kandaurov | 1 | -1/+1 | |
2017-11-20 | Fixing Coverity warnings. | Max Romanov | 1 | -0/+3 | |
CID 200496 CID 200494 CID 200490 CID 200489 CID 200483 CID 200482 CID 200472 CID 200465 | |||||
2017-10-19 | Supporting concurrent shared memory fd receive in router. | Max Romanov | 1 | -6/+6 | |
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. | |||||
2017-10-10 | Optimized application type handling. | Valentin Bartenev | 1 | -1/+1 | |
2017-10-05 | Improved applications versions handling. | Valentin Bartenev | 1 | -1/+1 | |
2017-10-04 | Introducing process use counter. | Max Romanov | 1 | -16/+14 | |
This helps to decouple process removal from port memory pool cleanups. | |||||
2017-10-04 | Return error codes for port_hash operations. | Max Romanov | 1 | -2/+12 | |
2017-10-04 | Introducing use counters for port and app. Thread safe port write. | Max Romanov | 1 | -9/+27 | |
Use counter helps to simplify logic around port and application free. Port 'post' function introduced to simplify post execution of particular function to original port engine's thread. Write message queue is protected by mutex which makes port write operation thread safe. | |||||
2017-10-04 | Using engine memiory pool for port write allocations. | Max Romanov | 1 | -0/+1 | |
To allow use port from different threads, the first step is to avoid using port's memory pool for temporary allocations required to send data through the port. Including but not limited by: - buffers for data; - send message structures; - new mmap fd notifications; It is still safe to use port memory pool for incoming buffers allocations because recieve operation bound to single thread. | |||||
2017-10-04 | Removing mem_pool from port_hash interface. | Max Romanov | 1 | -5/+10 | |
Memory pool is not used by port_hash and it was a mistake to pass it into 'add' and 'remove' functions. port_hash enrties are allocated from heap. | |||||
2017-09-22 | Removed fibers from compilation. | Valentin Bartenev | 1 | -0/+2 | |
It's not used anyway, but breaks building with musl. This closes issue #5 on GitHub. | |||||
2017-09-10 | Configuration persistence. | Valentin Bartenev | 1 | -0/+40 | |
Now configuration survives server reloads. | |||||
2017-09-06 | Style fixes. | Igor Sysoev | 1 | -2/+3 | |
2017-08-31 | Changed modules names format. | Igor Sysoev | 1 | -1/+1 | |
2017-08-31 | nginext has been renamed to unit. | Igor Sysoev | 1 | -5/+5 | |
2017-08-30 | Fixed pid_file pattern misprint introduced in 231:6832cdee961e. | Max Romanov | 1 | -1/+1 | |
2017-08-30 | Adding a missing slash to the tail of path set by --modules | Igor Sysoev | 1 | -3/+12 | |
command line option. | |||||
2017-08-29 | The master process has been renamed to the main process. | Igor Sysoev | 1 | -8/+8 | |
2017-08-29 | Improved English. | Igor Sysoev | 1 | -3/+3 | |
2017-08-26 | Added configure and command line option --help. | Igor Sysoev | 1 | -0/+44 | |
2017-08-26 | Added configure and command line option --control. | Igor Sysoev | 1 | -22/+39 | |
2017-08-26 | Added configure and command line option --modules. | Igor Sysoev | 1 | -0/+24 | |
2017-08-26 | Added configure option --user=USER and --group=GROUP. | Igor Sysoev | 1 | -6/+6 | |
2017-08-26 | Added configure option --pid=FILE. | Igor Sysoev | 1 | -15/+4 | |
A pid file name can be relative. The default pid file name is "nginext.pid". | |||||
2017-08-26 | Added configure options --prefix=PATH and --log=FILE. | Igor Sysoev | 1 | -14/+8 | |
A prefix is prepended to all relative names at configure stage. There is no prefix by default. A log file name can be relative. The default log file name is "nginext.log". | |||||
2017-08-24 | Fixed building by GCC after 924c70e5fd1f. | Valentin Bartenev | 1 | -1/+1 | |