Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-09-22 | Tests: using dict.get() method with default value. | Max Romanov | 1 | -18/+9 | |
No functional changes. Only code readability improved. | |||||
2020-09-21 | Tests: added variable test with nonexistent upstream. | Andrei Zeliankou | 1 | -0/+23 | |
2020-09-21 | Tests: added test for "idle_timeout" with empty payload. | Andrei Zeliankou | 1 | -0/+18 | |
2020-09-21 | Tests: added multiple headers concatenation test. | Max Romanov | 1 | -9/+13 | |
2020-09-21 | Tests: changing Python application callable name. | Max Romanov | 2 | -0/+35 | |
2020-09-18 | Added .hgignore file. | Andrei Zeliankou | 1 | -0/+6 | |
2020-09-18 | Updated racially charged language in messages and comments. | Artem Konev | 2 | -4/+4 | |
2020-09-18 | Python: app module callable name configuration. | Max Romanov | 4 | -5/+21 | |
Now it is possible to specify the name of the application callable using optional parameter 'callable'. Default value is 'application'. This closes #290 issue on GitHub. | |||||
2020-09-18 | Fixed segmentation fault during reconfiguration. | Igor Sysoev | 1 | -7/+3 | |
If idle connection was closed before h1proto had been allocated then c->socket.data is NULL. This happens if nxt_h1p_idle_response() is called by nxt_h1p_idle_close(). However, h1p->conn_write_tail is used only in nxt_h1p_request_send() that would not be called after nxt_h1p_idle_response(). The bug was introduced in f237e8c553fd. | |||||
2020-09-18 | Fixed segmentation fault during reconfiguration. | Igor Sysoev | 1 | -1/+9 | |
2020-09-18 | Fixed use-after-free error during reconfiguration. | Igor Sysoev | 1 | -0/+2 | |
An idle connection was not removed from idle connection list if the connections detected that listening socket had been closed. | |||||
2020-08-28 | Router: fixed "pass" to upstreams. | hongzhidao | 4 | -3/+90 | |
Messed up return values in nxt_upstream_find() caused error in applying any configuration with a valid "pass" value in router configuration pointing to upstream. That wasn't the case in "listeners" objects, where the return value wasn't checked. Also, it caused segfault in cases where the "pass" option was configured with variables and resulting value was pointing to a non-existent upstream. Added missing return checks as well to catch possible memory allocation errors. The bug was introduced in d32bc428f46b. This closes #472 issue on GitHub. | |||||
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 55 | -6325/+4780 | |
2020-09-16 | Isolation: remove redundant macro. | Tiago Natel de Moura | 2 | -4/+1 | |
2020-09-15 | Python: changed request headers format in router protocol. | Max Romanov | 2 | -11/+107 | |
The coming ASGI support requires raw HTTP headers format. Headers grouping and upcase code were moved to WSGI module. | |||||
2020-09-15 | Hardening header names comparation for grouping. | Max Romanov | 1 | -10/+67 | |
2020-09-14 | Python: split module initialization from WSGI implementation. | Max Romanov | 4 | -285/+388 | |
This is required for futher ASGI implementation. | |||||
2020-09-14 | Python: source file moved to 'python' sub-directory. | Max Romanov | 2 | -1/+2 | |
No functional changes. Get ready for an increase in file number. | |||||
2020-09-10 | Fixing WebSocket frame retain function. | Max Romanov | 1 | -2/+13 | |
Some of the pointers were not adjusted after frame's memory re-allocation. Fortunately, this function was not used and the bug has no effect. | |||||
2020-09-07 | Upstream connection was not closed for short chunked response. | Igor Sysoev | 1 | -27/+3 | |
2020-08-31 | Tests: $host varaible test. | Andrei Zeliankou | 1 | -7/+24 | |
Also added few tests for $uri and minor style fixes. | |||||
2020-08-28 | Vars: added $host. | Valentin Bartenev | 1 | -0/+20 | |
This closes #407 issue on GitHub. | |||||
2020-08-25 | Tests: disable of language_deps. | Tiago Natel de Moura | 1 | -0/+69 | |
2020-08-25 | Isolation: added "automount" option. | Tiago Natel de Moura | 9 | -34/+112 | |
Now it's possible to disable default bind mounts of languages by setting: { "isolation": { "automount": { "language_deps": false } } } In this case, the user is responsible to provide a "rootfs" containing the language libraries and required files for the application. | |||||
2020-08-25 | Tests: PHP extension mounts. | Tiago Natel de Moura | 3 | -0/+66 | |
2020-08-25 | PHP: added bind mounts for extensions directory. | Tiago Natel de Moura | 2 | -3/+36 | |
2020-08-21 | Configuration: removed "reschedule_timeout" option. | Valentin Bartenev | 3 | -18/+0 | |
It's not used since cbcd76704c90. This option is a leftover from previous IPC between router and applications processes. It was never documented, though. Thanks to 洪志道 (Hong Zhi Dao). | |||||
2020-08-20 | Tests: default tmpfs in rootfs. | Tiago Natel de Moura | 1 | -0/+20 | |
2020-08-20 | Isolation: mount tmpfs by default. | Tiago Natel de Moura | 5 | -66/+155 | |
2020-08-20 | Moved isolation related code to "nxt_isolation.c". | Tiago Natel de Moura | 7 | -980/+990 | |
2020-08-19 | Configuration: improved error message of invalid listener address. | Valentin Bartenev | 1 | -2/+9 | |
Thanks to 洪志道 (Hong Zhi Dao). This closes #466 issue on GitHub. | |||||
2020-08-17 | Supporting platforms without sendfile() implementation. | Max Romanov | 2 | -5/+20 | |
This is a quick and dirty sendfile() replacement. This closes #452 PR on GitHub. | |||||
2020-08-17 | Style: changing preprocessor directives. | Max Romanov | 1 | -5/+11 | |
Using #if directives instead of #ifdef the same way as in other places. | |||||
2020-08-17 | Version bump. | Valentin Bartenev | 1 | -2/+2 | |
2020-08-13 | Added tag 1.19.0 for changeset 86cdf66f8274 | Valentin Bartenev | 1 | -0/+1 | |
2020-08-13 | Generated Dockerfiles for Unit 1.19.0.1.19.0 | Valentin Bartenev | 8 | -8/+8 | |
2020-08-13 | Added version 1.19.0 CHANGES. | Valentin Bartenev | 2 | -0/+156 | |
2020-08-13 | Tests: set root by unprivilaged user. | Tiago Natel de Moura | 1 | -0/+27 | |
2020-08-13 | Tests: added test with error on loading application. | Andrei Zeliankou | 1 | -0/+11 | |
2020-08-13 | Tests: added variables tests. | Andrei Zeliankou | 1 | -0/+94 | |
2020-08-13 | Fixing router assertion in result of application prefork error. | Max Romanov | 1 | -0/+8 | |
Buffer for application prefork request allocated from temp conf mem_pool. If error response from main process received before buffer completion handler, temp conf mem_pool destroyed and router may crash in completion handler. Assertion "src/nxt_buf.c:208 assertion failed: data == b->parent" triggered when NXT_DEBUG_ALLOC enabled in configure. This patch disables completion handler and memory allocated for buffer released with memory pool. | |||||
2020-08-13 | Fixed error handling of prefork callback. | Tiago Natel de Moura | 1 | -14/+21 | |
Previously, an error during the prefork phase triggered assert: src/nxt_port.c:27 assertion failed: port->pair[0] == -1 and resulted in exiting of the main process. This could be easily reproduced by pushing a configuration with "rootfs", when daemon is running without required permissions. | |||||
2020-08-13 | Fixed typo in return value check. | Valentin Bartenev | 1 | -1/+1 | |
Found by Coverity (CID 361277). | |||||
2020-08-13 | Basic variables support. | Valentin Bartenev | 19 | -144/+1086 | |
2020-08-12 | PHP: compatibility with 8.0.0 Beta 1. | Remi Collet | 1 | -1/+15 | |
This closes #441 PR on GitHub. | |||||
2020-08-12 | Responding with error in case of first process start failure. | Max Romanov | 3 | -18/+129 | |
After shared application port introducing, request queue in router was removed and requests may stuck forever waiting for another process start. | |||||
2020-08-12 | Fixing issues found by static analyzer. | Max Romanov | 1 | -2/+4 | |
2020-08-11 | Fixing return value initialization. | Max Romanov | 1 | -19/+25 | |
2020-08-11 | Style fixes for 2 file descriptors transfer over port. | Max Romanov | 7 | -110/+115 | |
Two consecutive fd and fd2 fields replaced with array. | |||||
2020-08-11 | Moving file descriptor blocking to libunit. | Max Romanov | 3 | -19/+39 | |
The default libunit behavior relies on blocking the recv() call for port file descriptors, which an application may override if needed. For external applications, port file descriptors were toggled to blocking mode before the exec() call. If the exec() call failed, descriptor remained blocked, so the process hanged while trying to read from it. This patch moves file descriptor mode switch inside libunit. |