Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-05-12 | Tests: added respawn tests. | Andrei Zeliankou | 1 | -0/+95 | |
2020-04-24 | Tests: introduced module version specification in prerequisites. | Andrei Zeliankou | 25 | -26/+38 | |
2020-04-20 | Tests: skips adjusted. | Andrei Zeliankou | 2 | -9/+21 | |
2020-04-14 | Tests: added test with rescheduling requests. | Andrei Zeliankou | 1 | -0/+32 | |
2020-04-14 | Tests: minor fixes and style. | Andrei Zeliankou | 16 | -175/+99 | |
2020-04-08 | Controller: improved handling of unix domain control socket. | Valentin Bartenev | 1 | -4/+1 | |
One of the ways to detect Unit's startup and subsequent readiness to accept commands relies on waiting for the control socket file to be created. Earlier, it was unreliable due to a race condition between the client's connect() and the daemon's listen() calls after the socket's bind() call. Now, unix domain listening sockets are created with a nxt_listen_socket_create() call as follows: s = socket(); unlink("path/to/socket.tmp") bind(s, "path/to/socket.tmp"); listen(s); rename("path/to/socket.tmp", "path/to/socket"); This eliminates a time-lapse when the socket file is already created but nobody is listening on it yet, which therefore prevents the condition described above. Also, it allows reliably detecting whether the socket is being used or simply wasn't cleaned after the daemon stopped abruptly. A successful connection to the socket file means the daemon has been started; otherwise, the file can be overwritten. | |||||
2020-04-03 | Tests: use "return" action in upstream tests. | Andrei Zeliankou | 5 | -98/+101 | |
2020-04-03 | Tests: added notification on "read_timeout" expiration. | Andrei Zeliankou | 2 | -4/+30 | |
2020-04-03 | Tests: minor fixes. | Andrei Zeliankou | 3 | -9/+20 | |
2020-03-30 | Tests: added tests for rational numbers in upstream server weight. | Andrei Zeliankou | 2 | -12/+98 | |
2020-03-30 | Fixing application process infinite loop. | Max Romanov | 2 | -2/+1 | |
Main process exiting before app process init may have caused hanging. | |||||
2020-03-30 | Handling change file message in libunit. | Max Romanov | 2 | -2/+1 | |
This is required for proper log file rotation action. | |||||
2020-03-27 | Tests: added tests for "location" option. | Andrei Zeliankou | 1 | -0/+94 | |
2020-03-27 | Tests: added tests for "return" action. | Andrei Zeliankou | 4 | -270/+191 | |
2020-03-27 | Tests: increase default "read_timeout" to 60s in message_read(). | Andrei Zeliankou | 1 | -1/+1 | |
2020-03-25 | Tests: added tests for comments in JSON. | Andrei Zeliankou | 1 | -0/+61 | |
2020-03-25 | Tests: UTF-8 BOM test. | Andrei Zeliankou | 1 | -0/+19 | |
2020-03-23 | Tests: increase default "read_timeout" value to 60s. | Andrei Zeliankou | 2 | -15/+16 | |
This change is necessary to avoid errors on slow hosts. Also slightly reworked argument passing to the recvall() function. | |||||
2020-03-23 | Tests: added notification on unsuccessful connect(). | Andrei Zeliankou | 1 | -1/+1 | |
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-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 | 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 | 1 | -2/+0 | |
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-12 | Tests: skip "close failed" alert in test_proxy_parallel test. | Andrei Zeliankou | 1 | -0/+2 | |
2020-03-12 | Using disk file to store large request body. | Max Romanov | 1 | -0/+1 | |
This closes #386 on GitHub. | |||||
2020-03-12 | Tests: added Python input readline and iterator tests. | Max Romanov | 5 | -6/+125 | |
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-01-31 | Tests: more routing tests with negative rules. | Andrei Zeliankou | 1 | -0/+57 | |
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-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 | Improved validation of the "action" object. | Valentin Bartenev | 1 | -2/+0 | |
Now it enforces the mutual exclusivity of "pass", "proxy", and "share" options. | |||||
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 | |
2020-02-27 | Tests: added test with invalid IPv6 address in routing block. | Andrei Zeliankou | 1 | -0/+1 | |
2020-02-21 | Tests: more static tests. | Andrei Zeliankou | 1 | -4/+26 | |
2020-02-20 | Tests: added PHP test with invalid index extension only. | Andrei Zeliankou | 1 | -0/+30 | |
2020-02-20 | Tests: added proxy test with large body. | Andrei Zeliankou | 1 | -0/+7 | |
2020-02-20 | Tests: more tests with "max_body_size". | Andrei Zeliankou | 1 | -0/+25 | |
2020-02-05 | Tests: added test for uploading files with SSL. | Tiago Natel de Moura | 2 | -0/+49 | |
* * * [mq]: multipart | |||||
2020-02-05 | Tests: add helper for form-data and multipart. | Tiago Natel de Moura | 2 | -22/+90 | |
2020-02-04 | Tests: fixing Python 3.8.1 errors on Mac. | Max Romanov | 3 | -21/+18 | |
- "Can't pickle local object ..." - "if __name__ == '__main__':" pattern required for multiprocessing |