Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-12-01 | Tests: fixed skipping tests with disabled OPcache. | Andrei Zeliankou | 1 | -1/+1 | |
2021-11-15 | Tests: fixed session reuse tests. | Andrei Zeliankou | 1 | -17/+13 | |
Since SSL_CTX_sess_set_cache_size() can't guarantee the size of the cache there is no need to test edge "cache_size" values. | |||||
2021-11-15 | Tests: refactored working with processes. | Andrei Zeliankou | 8 | -39/+39 | |
2021-11-10 | Tests: added more tests for "query" routing pattern. | Andrei Zeliankou | 1 | -8/+16 | |
2021-11-09 | Tests: PHP shared opcache test added. | Max Romanov | 4 | -9/+54 | |
2021-11-09 | Tests: app prototype related fixes. | Max Romanov | 5 | -3/+19 | |
2021-11-05 | Router: matching query string support. | Zhidao HONG | 1 | -0/+44 | |
The "query" option matches decoded arguments, including plus ('+') to space (' '). Like "uri", it can be a string or an array of strings. | |||||
2021-11-04 | Tests: added "requirements.txt". | Andrei Zeliankou | 1 | -0/+2 | |
2021-11-04 | Tests: added migration test for "share". | Andrei Zeliankou | 2 | -4/+52 | |
2021-11-02 | Tests: added pyOpenSSL module check were necessary. | Andrei Zeliankou | 2 | -0/+4 | |
2021-11-02 | Tests: removed unused imports. | Andrei Zeliankou | 11 | -12/+0 | |
2021-10-28 | Tests: added tests for TLS session tickets. | Andrei Zeliankou | 1 | -0/+195 | |
2021-10-28 | Tests: added tests for TLS sessions. | Andrei Zeliankou | 1 | -0/+129 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 51 | -74/+19 | |
2021-10-05 | Tests: added tests for variables in "chroot". | Andrei Zeliankou | 1 | -0/+116 | |
2021-10-05 | Tests: added tests for variables in "share". | Andrei Zeliankou | 1 | -0/+80 | |
2021-10-05 | Tests: added tests for "share" option with arrays. | Andrei Zeliankou | 1 | -0/+73 | |
2021-09-30 | Static: variables in the "share" option. | Zhidao HONG | 6 | -43/+48 | |
This commit supports variable in the "share" option, the finding path to file serve is the value from "share". An example: { "share": "/www/data/static$uri" } | |||||
2021-09-20 | Fixed WebSocket connection hang issue after listener reconfigure. | Max Romanov | 1 | -0/+17 | |
Because the configuration values were read from the listener's configuration, an established WebSocket connection was unable to work properly (i. e. stuck) if the listener was removed. The correct source of configuration values is the request config joint. This is related to issue #581 on GitHub. | |||||
2021-08-12 | Java: upgrading third-party components. | Max Romanov | 1 | -1/+1 | |
2021-08-12 | Tests: client IP address replacement. | Oisin Canty | 2 | -0/+133 | |
2021-08-11 | Tests: initialising log params before first _print_log(). | Max Romanov | 1 | -2/+3 | |
2021-08-11 | Tests: retrying directory remove if resource is busy. | Max Romanov | 1 | -1/+8 | |
2021-08-09 | Java: upgrading third-party components. | Max Romanov | 1 | -1/+1 | |
2021-08-05 | Router: fixed crash when matching an empty address pattern array. | Oisin Canty | 1 | -0/+4 | |
A crash would occur when the router tried to match an against an empty address pattern array. The following configuration was used to reproduce the issue: { "listeners": { "127.0.0.1:8082": { "pass": "routes" } }, "routes": [ { "match": { "source": [] }, "action": { "return": 200 } } ] } | |||||
2021-08-02 | Router: fixed segmentation fault. | Zhidao HONG | 1 | -0/+19 | |
In the case that routes or upstreams is empty and the pass option is a variable. If the resolved pass is routes or upstreams, a segment error occurred. | |||||
2021-07-29 | Application restart introduced. | Max Romanov | 5 | -0/+104 | |
When processing a restart request, the router sends a QUIT message to all existing processes of the application. Then, a new shared application port is created to ensure that new requests won't be handled by the old processes of the application. | |||||
2021-07-23 | Tests: added SNI test without hostname in request. | Andrei Zeliankou | 2 | -1/+21 | |
2021-07-21 | Tests: use mutex with multitthreaded Ruby hooks. | Oisin Canty | 3 | -3/+15 | |
This commit fixes a rare crash that can occur when File.write is called by many threads. | |||||
2021-07-06 | Tests: print_log_on_assert() decorator introduced. | Andrei Zeliankou | 1 | -73/+82 | |
2021-07-03 | Tests: address configuration tests reworked. | Andrei Zeliankou | 1 | -58/+21 | |
2021-07-02 | Tests: Ruby hooks. | Oisin Canty | 11 | -22/+183 | |
2021-07-02 | Tests: run Ruby applications inside temporary directory. | Oisin Canty | 3 | -10/+20 | |
2021-07-01 | Tests: fixing racing condition in respawn tests. | Max Romanov | 1 | -5/+10 | |
A race may occur between the router process restart and the main process sending a notification to the running controller. For example, a test script detects the new process and starts performing a smoke test, but the controller has not yet received the 'remove PID' notification, so the connection to the router is broken and any attempt to update the configuration will cause an error. The solution is to perform several attempts to reconfigure Unit with a short delay between failures. | |||||
2021-07-01 | Fixing multiple TLS-enabled listeners initialization. | Max Romanov | 1 | -0/+13 | |
Because of the incorrect 'last' field assignment, multiple listeners with a TLS certificate did not initialize properly, which caused a router crash while establishing a connection. Test with multiple TLS listeners added. The issue was introduced in the c548e46fe516 commit. This closes #561 issue on GitHub. | |||||
2021-05-27 | Tests: added tests for TLS "conf_commands" option. | Andrei Zeliankou | 1 | -0/+112 | |
2021-05-26 | Tests: added TLS test without close notify. | Andrei Zeliankou | 1 | -0/+23 | |
2021-05-26 | Static: handled unknown MIME types when MIME-filtering active. | Oisin Canty | 1 | -1/+1 | |
2021-05-25 | Go: fixing tests for Go 1.16. | Max Romanov | 2 | -0/+2 | |
In Go 1.16, the module-aware mode is enabled by default; to fall back to previous behavior, the GO111MODULE environment variable should be set to 'auto'. Details: https://golang.org/doc/go1.16 | |||||
2021-05-24 | Tests: added additional check in tests with timeouts. | Andrei Zeliankou | 1 | -76/+119 | |
2021-06-28 | Tests: renamed share to static. | Andrei Zeliankou | 8 | -62/+57 | |
Also minor style changes. | |||||
2021-06-24 | Tests: chroot test with permissions skipped under root. | Andrei Zeliankou | 1 | -1/+4 | |
2021-05-24 | Tests: test_settings_send_timeout improved. | Andrei Zeliankou | 3 | -8/+34 | |
Data length adjusts depending on socket buffer size when it's possible. | |||||
2021-05-24 | Node.js: renamed "require_shim" to "loader". | Oisin Canty | 12 | -13/+13 | |
2021-05-24 | Tests: minor fixes. | Andrei Zeliankou | 2 | -77/+25 | |
2021-05-20 | Tests: Python targets. | Oisin Canty | 7 | -32/+295 | |
2021-05-18 | Tests: added test to check port release. | Andrei Zeliankou | 1 | -0/+28 | |
2021-05-17 | Tests: fixed incorrect "--restart" mode performing. | Andrei Zeliankou | 1 | -4/+6 | |
2021-05-12 | Tests: added test for TLS with IP in SAN. | Andrei Zeliankou | 2 | -2/+30 | |
2021-05-12 | Node.js: a shim for overriding "http" and "websocket" modules. | Oisin Canty | 39 | -66/+210 | |
Also added stubs for Server.address() This was done to prevent crashes in some popular frameworks like express Supports both CommonJS and the new ES Modules system syntax e.g: app.js: const http = require('http') app.mjs: import http from "http" Usage on Node 14.16.x and higher: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--loader", "unit-http/require_shim.mjs" "--require", "unit-http/require_shim", "app.js" ] } Usage on Node 14.15.x and lower: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--require", "unit-http/require_shim", "app.js" ] } |