Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-03-23 | Tests: wait for unit.pid file before running tests. | Andrei Zeliankou | 1 | -1/+4 | |
Waiting for control.unit.sock was replaced by unit.pid due to current problem with race between connect() and listen() calls for control.unit.sock. This change should be reverted after fix. | |||||
2020-03-19 | Fixed filepath in the image checksum file. | Konstantin Pavlov | 1 | -1/+1 | |
2020-03-23 | Tests: rearranging functions in main.py. | Andrei Zeliankou | 1 | -69/+69 | |
2020-03-23 | Tests: terminate unitd process on exit(). | Andrei Zeliankou | 1 | -12/+14 | |
2020-03-19 | Completing buffers immediately | Max Romanov | 1 | -5/+2 | |
This fixes crash introduced in 039b00e32e3d. | |||||
2020-03-19 | Completing request header buffers to avoid memory leak. | Max Romanov | 3 | -22/+29 | |
Before this fix, only persistent connection request buffers were completed. This issue was introduced in dc403927ab0b. | |||||
2020-03-19 | Tests: test_python_procman.py refactored. | Andrei Zeliankou | 1 | -115/+58 | |
2020-03-19 | Tests: fixed prerequisite in test_share_fallback.py. | Andrei Zeliankou | 1 | -3/+3 | |
2020-03-17 | Fixing body fd access racing condition. | Max Romanov | 3 | -18/+32 | |
To avoid closing the body fd prematurely, the fd value is moved from the request struct to the app link. The body fd should not be closed immediately after the request is sent to the application due to possible request rescheduling. | |||||
2020-03-17 | Checking sendfile() availability in configure. | Max Romanov | 1 | -24/+32 | |
Removing SF_NODISKIO flag for FreeBSD sendfile() check because it is not used yet and to support DragonFlyBSD. This closes #414 issue on GitHub. | |||||
2020-03-16 | Version bump. | Valentin Bartenev | 1 | -2/+2 | |
2020-03-13 | Added checksum generation to make dist target. | Konstantin Pavlov | 1 | -0/+4 | |
While at it, clean up dist artifacts on make clean. | |||||
2020-03-13 | Added a target to export docker images as tarballs | Konstantin Pavlov | 2 | -5/+31 | |
2020-03-12 | Tests: skip "close failed" alert in test_proxy_parallel test. | Andrei Zeliankou | 1 | -0/+2 | |
2020-03-12 | Added tag 1.16.0 for changeset 8bab088952dd | Valentin Bartenev | 1 | -0/+1 | |
2020-03-12 | Generated Dockerfiles for Unit 1.16.0.1.16.0 | Valentin Bartenev | 8 | -8/+8 | |
2020-03-12 | Added version 1.16.0 CHANGES. | Valentin Bartenev | 2 | -0/+103 | |
2020-03-12 | Using disk file to store large request body. | Max Romanov | 18 | -36/+455 | |
This closes #386 on GitHub. | |||||
2020-03-12 | Moving request memory pool retain call after RPC data allocation. | Max Romanov | 2 | -10/+15 | |
If the call is done only after a successful RPC data allocation, its corresponding release call is not missed, which avoids a potential leak. | |||||
2020-03-12 | Checking Content-Length value right after header parse. | Max Romanov | 2 | -6/+8 | |
The check was moved from the request body read stage. | |||||
2020-03-12 | Tests: added Python input readline and iterator tests. | Max Romanov | 5 | -6/+125 | |
2020-03-12 | Python: implementing input readline and line iterator. | Max Romanov | 1 | -2/+145 | |
2020-03-12 | Introducing readline function in libunit. | Max Romanov | 4 | -44/+53 | |
Ruby and Java modules now use this function instead of own implementations. | |||||
2020-03-12 | Tests: fixed race in USR1 signal tests. | Andrei Zeliankou | 1 | -19/+22 | |
Also, minor style fixes applied. | |||||
2020-03-12 | Tests: round robin upstream tests. | Andrei Zeliankou | 4 | -0/+489 | |
2020-03-12 | Tests: skip "last message send failed" alerts globally. | Andrei Zeliankou | 1 | -0/+1 | |
2020-03-06 | Round robin upstream added. | Igor Sysoev | 11 | -34/+654 | |
2020-03-04 | Legacy upstream code removed. | Igor Sysoev | 4 | -274/+0 | |
2020-03-04 | Refactored nxt_http_action. | Igor Sysoev | 3 | -21/+19 | |
2020-01-31 | Tests: more routing tests with negative rules. | Andrei Zeliankou | 1 | -0/+57 | |
2020-03-11 | Fixed negative patterns combined with address rules. | Axel Duch | 1 | -6/+40 | |
2020-03-10 | Tests: use blocking to print unit.log files. | Andrei Zeliankou | 1 | -1/+1 | |
2020-03-10 | Tests: redirect tests output to the stdout. | Andrei Zeliankou | 6 | -13/+20 | |
2020-03-06 | Tests: unitd stderr output redirected to unit.log. | Valentin Bartenev | 1 | -13/+13 | |
A part of the debug log was printed to stderr before the log file was opened. Now, this output is redirected to the same log file. | |||||
2020-03-06 | Tests: simplified unitd process running. | Valentin Bartenev | 1 | -42/+26 | |
There are no reasons to wrap the Unit daemon in a separate Python process. | |||||
2020-03-04 | PHP: fixed log format in alert. | Tiago Natel de Moura | 1 | -1/+2 | |
Found by Coverity: CID 354832 and CID 354833. | |||||
2020-03-04 | The kqueue EOF flag might be ignored on some conditions. | Igor Sysoev | 1 | -2/+2 | |
If kqueue reported both the EVFILT_READ and the EVFILT_WRITE events for the socket but only the former had the EV_EOF flag set, the flag was silently ignored. | |||||
2020-03-04 | PHP: added ZTS indication to ./configure output. | Valentin Bartenev | 1 | -0/+19 | |
2020-03-04 | PHP: rearranged feature checks in ./configure. | Valentin Bartenev | 1 | -46/+48 | |
Now it prints version even if PHP was built without embed SAPI. | |||||
2020-03-03 | Tests: chdir() and open() for PHP module. | Tiago Natel de Moura | 6 | -6/+161 | |
These tests ensure optimizations in the chdir calls don't break SAPI semantics. | |||||
2020-03-03 | Tests: added tests for "fallback" option for the "share" action. | Andrei Zeliankou | 1 | -0/+212 | |
2020-03-03 | Tests: check unique options in "action" object. | Andrei Zeliankou | 1 | -0/+50 | |
2020-03-03 | Added a "fallback" option to be used with the "share" action. | Valentin Bartenev | 4 | -23/+68 | |
It allows proceeding to another action if a file isn't available. An example: { "share": "/data/www/", "fallback": { "pass": "applications/php" } } In the example above, an attempt is made first to serve a request with a file from the "/data/www/" directory. If there's no such file, the request is passed to the "php" application. Fallback actions may be nested: { "share": "/data/www/", "fallback": { "share": "/data/cache/", "fallback": { "proxy": "http://127.0.0.1:9000" } } } | |||||
2020-03-03 | Improved validation of the "action" object. | Valentin Bartenev | 2 | -18/+41 | |
Now it enforces the mutual exclusivity of "pass", "proxy", and "share" options. | |||||
2020-03-03 | PHP: optimization to avoid surplus chdir(2) calls. | Tiago Natel de Moura | 2 | -101/+310 | |
For each request, the worker calls the php_execute_script function from libphp that changes to the script directory before doing its work and then restores the process directory before returning. The chdir(2) calls it performs are unnecessary in Unit design. In simple benchmarks, profiling shows that the chdir syscall code path (syscall, FS walk, etc.) is where the CPU spends most of its time. PHP SAPI semantics requires the script to be run from the script directory. In Unit's PHP implementation, we have two use cases: - script - arbitrary path The "script" configuration doesn't have much need for a working directory change: it can be changed once at module initialization. The module needs to chdir again only if the user's PHP script also calls chdir to switch to another directory during execution. If "script" is not used in Unit configuration, we must ensure the script is run from its directory (thus calling chdir before exec), but there's no need to restore the working directory later. Our implementation disables mandatory chdir calls with the SAPI option SAPI_OPTION_NO_CHDIR, instead calling chdir only when needed. To detect the user's calls to chdir, a simple "unit" extension is added that hooks the built-in chdir() PHP call. | |||||
2020-03-03 | Fixing request_app_link reference counting for delayed requests. | Max Romanov | 1 | -9/+36 | |
Router built with debug may stop with assertion during stalled requests re-schedule. This was caused by missing reference counting increment before nxt_router_port_select() call. | |||||
2020-03-03 | Java: fixing Spring applications start. | Max Romanov | 1 | -1/+1 | |
This closes #403 issue on GitHub. | |||||
2020-03-03 | Node.js: fixing x86 warning about the signed/unsigned comparison. | Max Romanov | 1 | -2/+1 | |
2020-03-02 | Tests: truncated huge messages while logging. | Andrei Zeliankou | 1 | -12/+33 | |
2020-02-27 | Tests: added "-r" option to print unit.log on failures. | Andrei Zeliankou | 1 | -5/+24 | |