Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-20 | Controller: certificates storage interface. | Valentin Bartenev | 16 | -44/+2103 | |
2018-09-20 | Deduplicated string value initializations. | Valentin Bartenev | 2 | -64/+23 | |
2018-09-20 | Added nginx error 497 response. | Igor Sysoev | 2 | -0/+22 | |
2018-09-20 | Added SSL/TLS support on connection level. | Igor Sysoev | 22 | -600/+926 | |
2018-09-19 | Initializing application structure with 0 to avoid crash. | Max Romanov | 1 | -2/+7 | |
Attribute 'application' is optional in listener object. This commit adds missing code to reset 'lscf' to avoid garbage and crash when the attribute is absent. | |||||
2018-09-19 | Initializing user_cred gids and ngroups for MacOS. | Max Romanov | 1 | -0/+4 | |
2018-09-18 | Fixed more typos. | Valentin Bartenev | 2 | -2/+2 | |
Thanks to 洪志道 (Hong Zhi Dao). | |||||
2018-09-17 | Tests: test_settings_header_read_timeout_update adjusted. | Andrey Zelenkov | 1 | -4/+9 | |
2018-09-17 | Fixed non-auto-reset timers. | Igor Sysoev | 1 | -10/+5 | |
2018-09-17 | Removed deprecated MacOSX OSSpinLockLock(). | Igor Sysoev | 3 | -80/+2 | |
2018-09-17 | Fixed typo. | Igor Sysoev | 1 | -1/+1 | |
This closes #166 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao). | |||||
2018-09-17 | Fixed typo. | Igor Sysoev | 1 | -1/+1 | |
This closes #165 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao). | |||||
2018-09-10 | Fixed spelling in a comment. | Valentin Bartenev | 1 | -1/+1 | |
This closes #161 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao). | |||||
2018-09-07 | Misspelled variable names fixed. | Max Romanov | 4 | -7/+7 | |
2018-09-06 | Tests: used relative path for configuration. | Andrey Zelenkov | 11 | -126/+125 | |
2018-09-04 | Tests: fixed test_settings_header_read_timeout_update. | Andrey Zelenkov | 1 | -4/+7 | |
2018-09-04 | Tests: "no_recv" option introduced. | Andrey Zelenkov | 1 | -2/+5 | |
2018-09-04 | Tests: "/config" prefix used. | Andrey Zelenkov | 1 | -3/+12 | |
2018-08-21 | Tests: more timeout tests. | Andrey Zelenkov | 1 | -0/+51 | |
2018-08-21 | Tests: typo. | Andrey Zelenkov | 1 | -1/+1 | |
2018-08-10 | Stopping all application processes if router process dies. | Max Romanov | 3 | -3/+29 | |
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-08-10 | Introducing app joint to accurate app release. | Max Romanov | 4 | -94/+169 | |
For accurate app descriptor release, it is required to count the number of use counts. Use count increased when: - app linked to configuration app queue; - socket conf stores pointer to app; - request for start app process posted to router service thread; Application port has pointer to app, but it does not increase use count to avoid use count loop. Timer needs a pointer to nxt_timer_t which is stored in engine timers tree. nxt_timer_t now resides in nxt_app_joint_t and does not lock the application. Start process port RPC handlers is also linked to nxt_app_joint_t. App joint (nxt_app_joint_t) is a 'weak pointer': - single threaded; - use countable; - store pointer to nxt_app_t (which can be NULL); nxt_app_t has pointer to nxt_app_joint_t and update its pointer to app. | |||||
2018-08-08 | Returning error for "make tests" when "--tests" wasn't configured. | Valentin Bartenev | 1 | -13/+29 | |
2018-08-08 | Tests: simple "Transfer-Encoding" client header test. | Andrey Zelenkov | 1 | -0/+17 | |
2018-08-08 | Tests: more reconfigure tests. | Andrey Zelenkov | 1 | -0/+53 | |
2018-08-08 | Perl: use of portable macro instead of an explicit declaration. | Alexander Borisov | 1 | -2/+2 | |
2018-08-07 | Removing non-required warning. | Max Romanov | 1 | -5/+0 | |
2018-08-07 | Improved 'invalid file descriptor' diagnostic. | Max Romanov | 1 | -0/+14 | |
Unit router process may send mmap file decritptor to the application process for further information exchange. During this process there may be various errors, which should be described in application error log. If file descriptor cannot be properly transferred with 'new mmap' message, fd variable will be assigned to -1 and further syscalls using this file descriptor will fail. For 'new port' message fd is checked in the same way. This commit adds early 'invalid file descriptor' diagnostic and write corresponding message to error log. Found by Coverity (CID 308515). | |||||
2018-08-07 | Fixed unit library mutex usage. | Max Romanov | 1 | -0/+6 | |
For the optimization purpose, function nxt_unit_remove_process() expects lib->mutex to be locked. The function then moves ports queue into temporary queue and releases mutex. In nxt_unit_done() there were two errors: mutex was not locked before nxt_unit_remove_process() call and mutex was not destroyed. It is hard to tell what was possible negative impact of this errors. Found by Coverity (CID 308517). | |||||
2018-08-06 | Tests: remove unused function. | Andrey Zelenkov | 1 | -6/+0 | |
This function was accidentally added in e0f0cd7d244a. | |||||
2018-08-06 | Python: decoding unicode strings as Latin1. | Max Romanov | 2 | -6/+6 | |
According to PEP 3333, header names and values should be decoded as Latin1. | |||||
2018-08-06 | Unit application library. | Max Romanov | 54 | -4346/+6562 | |
Library now used in all language modules. Old 'nxt_app_*' code removed. See src/test/nxt_unit_app_test.c for usage sample. | |||||
2018-07-30 | Tests: expectedFailure removed from test_settings_idle_timeout. | Andrey Zelenkov | 1 | -1/+0 | |
Fix committed in f04b28aa6e02. | |||||
2018-07-30 | Fixed segfault on listening socket close. | Igor Sysoev | 2 | -13/+56 | |
Now keep-alive connection sends 408 response if listening socket was closed while reconfiguration. | |||||
2018-07-30 | Sending 408 response on idle connection timeout. | Igor Sysoev | 3 | -26/+127 | |
2018-07-30 | Tests: fixed test_settings_idle_timeout. | Andrey Zelenkov | 1 | -2/+2 | |
2018-07-30 | Tests: fixed header value char tests. | Andrey Zelenkov | 3 | -9/+17 | |
Use byte strings to avoid problems with encoding. | |||||
2018-07-27 | Removed implicit call of nxt_thread() in nxt_thread_tid(). | Valentin Bartenev | 3 | -6/+2 | |
Explicit is better than implicit © The Zen of Python. The nxt_thread_tid(NULL) call was used only twice in the code and such behaviour was specific to nxt_thread_tid() function. | |||||
2018-07-27 | Added OpenBSD 3.9 getthrid(). | Igor Sysoev | 1 | -0/+12 | |
Prodded by David Carlier. | |||||
2018-07-27 | Refactored thread ID functions. | Igor Sysoev | 4 | -175/+150 | |
nxt_thread_tid() was moved to src/nxt_thread.c nxt_thread_get_tid() was moved to src/nxt_thread_id.h. src/nxt_thread_id.c was removed. | |||||
2018-07-23 | Fixed configure process with non-default locale. | Valentin Bartenev | 1 | -2/+2 | |
Overriding LANG might not work, since it has less precedence than LC_* settings. LC_ALL has the highest precedence. This should resolve issue #121 on GitHub. | |||||
2018-07-16 | Added getentropy() support. | Sergey Kandaurov | 3 | -0/+53 | |
Prodded by David Carlier. | |||||
2018-07-16 | Supplied getrandom() test with commentary about supported OSes. | Sergey Kandaurov | 1 | -1/+1 | |
2018-07-16 | Version bump. | Valentin Bartenev | 1 | -2/+2 | |
2018-07-13 | Tests: HTTP settings. | Andrey Zelenkov | 2 | -3/+124 | |
2018-07-13 | Added tag 1.3 for changeset b3cf22b8a17e | Valentin Bartenev | 1 | -0/+1 | |
2018-07-13 | Generated Dockerfiles for Unit 1.3.1.3 | Valentin Bartenev | 9 | -9/+9 | |
2018-07-13 | Added version 1.3 CHANGES. | Valentin Bartenev | 2 | -0/+98 | |
2018-07-12 | Fixed socket write error handling. | Igor Sysoev | 1 | -10/+17 | |
2018-07-12 | Disabling keep-alive connection on errors. | Igor Sysoev | 1 | -10/+17 | |