Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-01 | Packaging changes for updated Go package. | Max Romanov | 10 | -36/+140 | |
- package name changed to 'nginx/unit'; - source files installed in /usr/share/gocode; - rpm and deb go packages made noarch. | |||||
2017-12-01 | Making Go package source distributable and renaming to 'nginx/unit'. | Max Romanov | 9 | -107/+52 | |
All header files are copied to Go package sources. As the result, package can be (re-)build when required. This closes #23 issue on GitHub. | |||||
2017-12-01 | Initializing port_msg fields with zeroes in Go package. | Max Romanov | 2 | -0/+4 | |
2017-12-01 | Using compiler capability to generate dependencies. | Max Romanov | 7 | -119/+78 | |
This closes #58 issue on GitHub. | |||||
2017-11-29 | Using --ld-opt when linking modules. | Max Romanov | 3 | -5/+5 | |
2017-11-29 | Introducing python virtualenv configuration. | Max Romanov | 4 | -0/+44 | |
New parameter 'home' for python application allows to configure application-specific virtualenv path. This closes #15 issue on GitHub. | |||||
2017-11-29 | Tests: "verbose" mode introduced. | Andrey Zelenkov | 1 | -13/+39 | |
2017-11-29 | Tests: waitforfiles function introduced. | Andrey Zelenkov | 1 | -9/+27 | |
2017-11-28 | Tests: fixed port number in test_basic.t. | Andrey Zelenkov | 1 | -3/+3 | |
2017-11-28 | Tests: changed shebang to the default. | Andrey Zelenkov | 1 | -1/+1 | |
2017-11-02 | Fixing build on Solaris. | Max Romanov | 2 | -2/+2 | |
2017-11-27 | Timer should be marked as it is not in tree after deletion. | Igor Sysoev | 1 | -0/+1 | |
This closes #64 issue on GitHub. | |||||
2017-11-27 | Removed uncontext.h. | Igor Sysoev | 1 | -2/+0 | |
This removal was missed the changeset 2aad6a5fac13. | |||||
2017-11-27 | A number of engine connections is decreased on connection close. | Igor Sysoev | 4 | -4/+12 | |
2017-11-21 | Tests: added basic infrastructure. | Andrey Zelenkov | 4 | -0/+425 | |
2017-11-21 | Tests: move existing tests to "src" folder. | Andrey Zelenkov | 20 | -19/+19 | |
2017-11-21 | Fixed crash on invalid JSON number. | Valentin Bartenev | 1 | -0/+4 | |
2017-11-20 | Fixing Coverity warnings. | Max Romanov | 7 | -10/+23 | |
CID 200496 CID 200494 CID 200490 CID 200489 CID 200483 CID 200482 CID 200472 CID 200465 | |||||
2017-10-27 | Fixing racing condition in request.msgs usage. | Max Romanov | 1 | -8/+8 | |
2017-10-27 | Fixing Go program crash. | Max Romanov | 1 | -2/+2 | |
Go request registration should be removed before C request memory freed. C request address used as a key in Go map. Freed memory can be instantly reused for other request and older request registration should removed at this point to avoid collisions. | |||||
2017-10-25 | Checking the result of shared memory buffer allocation. | Max Romanov | 1 | -0/+3 | |
This closes #57 issue on GitHub. | |||||
2017-10-25 | Avoiding compilation on systems with no working shared memory. | Valentin Bartenev | 1 | -0/+4 | |
2017-10-23 | Fixed change log for version 0.2. | Valentin Bartenev | 2 | -16/+0 | |
Records about Go were added by mistake. The relevant patches haven't been committed yet. | |||||
2017-10-20 | Using the single source of Unit version. | Igor Sysoev | 1 | -1/+2 | |
2017-10-20 | Version bump. | Igor Sysoev | 2 | -3/+3 | |
2017-10-19 | Added tag 0.2 for changeset b09757e4984e | Igor Sysoev | 1 | -0/+1 | |
2017-10-19 | Introduced deb packages building tools.0.2 | Andrei Belov | 39 | -3/+1367 | |
2017-10-19 | Introduced rpm packages building tools. | Andrei Belov | 21 | -1/+932 | |
2017-10-19 | Fixing Go package build. | Max Romanov | 5 | -14/+21 | |
Go package build was broken by change 365:28b2a468be43. | |||||
2017-10-19 | Added version 0.2 CHANGES. | Igor Sysoev | 2 | -1/+84 | |
2017-10-19 | Added changelogs generation tools. | Andrei Belov | 7 | -0/+669 | |
2017-10-19 | Fixed controller restarting. | Valentin Bartenev | 2 | -24/+38 | |
Previously, stored configuration wasn't reread on controller process restart, which resulted in segmentation fault. | |||||
2017-10-19 | Keep application worker until response for all requests received. | Max Romanov | 1 | -1/+4 | |
2017-10-19 | Filtering process to keep connection. | Max Romanov | 5 | -13/+58 | |
- Main process should be connected to all other processes. - Controller should be connected to Router. - Router should be connected to Controller and all Workers. - Workers should be connected to Router worker thread ports only. This filtering helps to avoid unnecessary communication and various errors during massive application workers stop / restart. | |||||
2017-10-19 | Introducing mmap_handler to count references to shared memory. | Max Romanov | 3 | -87/+146 | |
"All problems in computer science can be solved by another level of indirection" Butler Lampson Completion handlers for application response buffers executed after sending the data to client. Application worker can be stopped right after send response buffers to router. Worker stop causes removal of all data structures for the worker. To prevent shared memory segment unmap, need to count the number of buffers which uses it. So instead of direct reference to shared memory, need to reference to intermediate 'handler' structure with use counter and pointer to shared memory. | |||||
2017-10-19 | Supporting concurrent shared memory fd receive in router. | Max Romanov | 6 | -104/+86 | |
Two different router threads may send different requests to single application worker. In this case shared memory fds from worker to router will be send over 2 different router ports. These fds will be received and processed by different threads in any order. This patch made possible to add incoming shared memory segments in arbitrary order. Additionally, array and memory pool are no longer used to store segments because of pool's single threaded nature. Custom array-like structure nxt_port_mmaps_t introduced. | |||||
2017-10-19 | Introducing src_pid for mmap header for accurate buf completion. | Max Romanov | 3 | -16/+30 | |
This allows to use shared memory to communicate with main process. This patch changes shared memory segment format and breaks compatibility with older modules. | |||||
2017-10-19 | Fixed matching of empty version. | Valentin Bartenev | 1 | -0/+4 | |
2017-10-19 | Fixed the bug introduced in the previous changeset. | Igor Sysoev | 1 | -4/+9 | |
2017-10-18 | Added the debug option to module compatibility vector. | Igor Sysoev | 4 | -4/+13 | |
2017-10-18 | Router: fixed segfault after configuration change. | Igor Sysoev | 7 | -193/+258 | |
2017-10-17 | Storing memory cache slot hint inside nxt_sockaddr_t. | Igor Sysoev | 7 | -31/+27 | |
2017-10-10 | Basic validation errors. | Valentin Bartenev | 3 | -84/+258 | |
2017-10-10 | Optimized application type handling. | Valentin Bartenev | 6 | -58/+50 | |
2017-10-05 | Fixed building with old GCC after the previous change. | Valentin Bartenev | 1 | -2/+1 | |
2017-10-05 | Improved applications versions handling. | Valentin Bartenev | 10 | -16/+244 | |
2017-10-04 | Added Linux 4.5 EPOLLEXCLUSIVE support. | Igor Sysoev | 1 | -2/+10 | |
2017-10-04 | Port message fragmentation supported. | Max Romanov | 9 | -28/+273 | |
- Each sendmsg() transmits no more than port->max_size payload data. - Longer buffers are fragmented and send using multiple sendmsg() calls. - On receive side, buffers are connected in chain. - Number of handler calls is the same as number of nxt_port_socket_write() calls. - nxt_buf_make_plain() function introduced to make single plain buffer from the chain. | |||||
2017-10-04 | Optimized request<->app link allocation. | Max Romanov | 1 | -36/+59 | |
Only purpose of request<->app link instance is to be enqueued in application requests queue. It is possible to avoid request<->app link allocation from memory pool in case when spare application port is available. Instance from local stack can be used to prepare and send message to application. | |||||
2017-10-04 | Breaking read loop by nxt_port_read_close(). | Max Romanov | 1 | -0/+1 | |
Port message handler may perform fork() and then close port read file descriptor and enable write on same event fd. Next read attempt in this case may cause different errors in log file. |