Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-05 | Python: fixing some arguments reference counting. | Max Romanov | 1 | -33/+130 | |
2020-11-05 | Python: request processing in multiple threads. | Max Romanov | 13 | -497/+992 | |
This closes #459 issue on GitHub. | |||||
2020-11-05 | Python: introducting macro to simplify minor version check. | Max Romanov | 1 | -1/+3 | |
2020-11-03 | Tests: disabled detailed output by default. | Andrei Zeliankou | 1 | -1/+1 | |
2020-11-03 | Tests: force applications to build for JVM 8. | Andrei Zeliankou | 1 | -0/+1 | |
This change is made to avoid situations when an application is compiled for a version newer than the Java module used. | |||||
2020-11-02 | Java: upgrading 3rd-party components. | Max Romanov | 3 | -19/+19 | |
2020-11-01 | Fixed building test app without debug. | Valentin Bartenev | 1 | -2/+8 | |
Compilers complained about unused variables after 37e2a3ea1bf1. | |||||
2020-10-30 | Java: supporting jsp-file attribute for servlet. | Max Romanov | 1 | -0/+66 | |
This closes #487 issue on GitHub. | |||||
2020-10-30 | Isolation: fixed passing custom options to nmount(). | Valentin Bartenev | 1 | -4/+8 | |
The "iov" array was filled incorrectly when custom mounting options were set. | |||||
2020-10-29 | Isolation: mounting of procfs by default when using "rootfs". | Tiago Natel de Moura | 15 | -198/+353 | |
2020-10-29 | Tests: added new ruby isolation test without namespaces. | Tiago Natel de Moura | 1 | -1/+20 | |
2020-10-29 | Isolation: correctly unmount non-dependent paths first. | Tiago Natel de Moura | 1 | -4/+36 | |
When mount points reside within other mount points, this patch sorts them by path length and then unmounts then in an order reverse to their mounting. This results in independent paths being unmounted first. This fixes an issue in buildbots where dependent paths failed to unmount, leading to the build script removing system-wide language libraries. | |||||
2020-10-28 | Tests: improving get_application_type() and fixing its name. | Max Romanov | 7 | -28/+14 | |
This patch also enables multiversion tests running for Java. | |||||
2020-10-28 | Added threading to the libunit test app. | Max Romanov | 1 | -22/+108 | |
2020-10-28 | Preserving the app port write socket. | Max Romanov | 4 | -10/+17 | |
The socket is required for intercontextual communication in multithreaded apps. | |||||
2020-10-28 | Libunit: waking another context with the RPC_READY message. | Max Romanov | 1 | -1/+37 | |
2020-10-28 | Router: introducing the PORT_ACK message. | Max Romanov | 4 | -5/+39 | |
The PORT_ACK message is the router's response to the application's NEW_PORT message. After receiving PORT_ACK, the application is safe to process requests using this port. This message avoids a racing condition when the application starts processing a request from the shared queue and sends REQ_HEADERS_ACK. The REQ_HEADERS_ACK message contains the application port ID as reply_port, which the router uses to send request data. When the application creates a new port, it immediately sends it to the main router thread. Because the request is processed outside the main thread, a racing condition can occur between the receipt of the new port in the main thread and the receipt of REQ_HEADERS_ACK in the worker router thread where the same port is specified as reply_port. | |||||
2020-10-28 | Libunit: releasing cached read buffers when destroying context. | Max Romanov | 1 | -0/+8 | |
2020-10-28 | Libunit: added a function to discern main and worker contexts. | Max Romanov | 2 | -0/+13 | |
2020-10-28 | Libunit: gracefully quitting a multicontext application. | Max Romanov | 2 | -24/+74 | |
2020-10-28 | Router: broadcasting the SHM_ACK message to all process ports. | Max Romanov | 3 | -11/+40 | |
2020-10-28 | Added error response logging. | Max Romanov | 1 | -4/+10 | |
Every internal server error response should have a clear description in log. | |||||
2020-10-28 | Router: checking a buffer before accessing its memory fields. | Max Romanov | 1 | -1/+1 | |
This fixes the router's crash on buildbot; the reason was an unexpected 'last' response from the application to the router arriving before the response headers. The last buffer is not a memory buffer, so the result of accessing memory fields is unpredictable. The unexpected 'last' message was caused by an error in libunit; fixed in fee8fd855a00. | |||||
2020-10-28 | Libunit: protecting the new mmap from being used in another thread. | Max Romanov | 1 | -1/+6 | |
Until the mmap is received by the router, only the creator thread may use this mmap, so the "mmap not found" state in the router is avoided. | |||||
2020-10-28 | Router: closing app worker's ports. | Max Romanov | 1 | -0/+19 | |
2020-10-27 | Tests: fixed isolation detection. | Andrei Zeliankou | 3 | -27/+112 | |
2020-10-26 | Increased request memory pool size. | Valentin Bartenev | 1 | -1/+1 | |
Previous value was too small, which reduced efficiency of the pool causing a lot of additional allocations even for simple request and response. | |||||
2020-10-26 | Configure: using comma instead of space for passing -rpath value. | Valentin Bartenev | 3 | -4/+3 | |
This variant will be more interoperable across various systems and it's already used in Ruby module. Otherwise, configure tests fail on NetBSD with: gcc: Missing argument for -Wl,-rpath | |||||
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 44 | -488/+427 | |
2020-10-14 | Fixing uninitialized ncpu value on unsupported platforms. | Max Romanov | 1 | -1/+4 | |
Thanks to @geyslan. This closes #455 issue on GitHub. | |||||
2020-10-14 | Java: response locale methods implemented. | Max Romanov | 1 | -3/+18 | |
This closes #479 issue on GitHub. | |||||
2020-10-13 | Using union instead of "void *". | Igor Sysoev | 1 | -102/+110 | |
2020-10-13 | Using C99 style declaration. | Igor Sysoev | 1 | -563/+423 | |
2020-10-13 | Reordering declarations. | Igor Sysoev | 1 | -296/+317 | |
2020-10-13 | Fixed building with Python 3.9. | Valentin Bartenev | 2 | -2/+3 | |
PyUnicode_GET_SIZE() in deprecated since 3.3 and will be removed in 3.12. In version 3.9 it was explicitly marked by deprecation warning causing compilation error with Unit. PyUnicode_GET_LENGTH() must be used instead. | |||||
2020-10-13 | Version bump. | Valentin Bartenev | 1 | -2/+2 | |
2020-10-08 | Adjusted tag 1.20.0 to include 0e985b300673. | Valentin Bartenev | 1 | -1/+1 | |
2020-10-08 | Updated 1.20.0 CHANGES to include pytest migration.1.20.0 | Valentin Bartenev | 2 | -0/+8 | |
2020-10-08 | Added tag 1.20.0 for changeset f7e9cf490512 | Valentin Bartenev | 1 | -0/+1 | |
2020-10-08 | Generated Dockerfiles for Unit 1.20.0. | Valentin Bartenev | 9 | -9/+9 | |
2020-10-08 | Added version 1.20.0 CHANGES. | Valentin Bartenev | 2 | -0/+166 | |
2020-09-22 | Regenerated dockerfiles. | Konstantin Pavlov | 9 | -1/+112 | |
2020-09-22 | Ensure docker images are using latest versions of base OS packages. | Konstantin Pavlov | 1 | -3/+6 | |
2020-09-22 | Added jsc11 docker image. | Konstantin Pavlov | 2 | -2/+6 | |
2020-10-06 | PHP: compatibility with 8.0.0 RC1. | Valentin Bartenev | 4 | -10/+40 | |
This closes #474 PR on GitHub. | |||||
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 46 | -95/+125 | |
2020-10-07 | Tests: fixed loading selected module version. | Valentin Bartenev | 3 | -3/+15 | |
Previously, for PHP, Ruby, and Perl the latest version was always loaded in multi-version tests. | |||||
2020-10-07 | Router: fixed "not empty" pattern matching. | Valentin Bartenev | 2 | -4/+15 | |
The "!" pattern should be opposite to "", i.e. match only non-empty values. But after 3c00af54b937 it was equal to "!*", which is wrong. | |||||
2020-10-06 | Tests: fixed tests to run as root. | Andrei Zeliankou | 2 | -8/+4 | |
2020-10-06 | Removing a meaningless warning message. | Max Romanov | 1 | -4/+0 | |
Data in the queue and the socket are transmitted independently; special READ_QUEUE and READ_SOCKET message types are used for synchronization. The warning was accidentally committed with changeset 1d84b9e4b459. |