Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-09 | HTTP parser: allowing underscore in header field names. | Valentin Bartenev | 2 | -2/+2 | |
2017-12-29 | Using correct pointer and size for memzero operation. | Igor Sysoev | 2 | -3/+6 | |
Found by Coverity (CID 215689). | |||||
2017-12-29 | Using correct pointer in test operation. | Igor Sysoev | 1 | -1/+1 | |
Found by Coverity (CID 215687). | |||||
2017-12-29 | Corrected allocation size of HTTP response header. | Igor Sysoev | 1 | -2/+6 | |
2017-12-29 | Version bump. | Igor Sysoev | 1 | -2/+2 | |
2017-12-28 | Fixed Go package and PHP module building.0.3 | Igor Sysoev | 2 | -2/+2 | |
Go package and PHP module could not be built after changeset 5817734dd9b9. | |||||
2017-12-28 | Removed duplicate declaration. | Igor Sysoev | 8 | -10/+7 | |
2017-12-28 | Removed duplicate declaration. | Igor Sysoev | 1 | -3/+0 | |
2017-12-28 | Disabled Nagle algorithm for keep-alive connections. | Igor Sysoev | 1 | -0/+4 | |
2017-12-28 | Fixing memory leak introduced in changeset 5817734dd9b9. | Igor Sysoev | 1 | -1/+4 | |
2017-12-28 | HTTP keep-alive connections support. | Igor Sysoev | 16 | -891/+1989 | |
2017-12-28 | Changed nxt_mp_retain() and nxt_mp_release() interfaces. | Igor Sysoev | 9 | -65/+72 | |
2017-12-28 | Removed unused variable assignment. | Max Romanov | 1 | -1/+0 | |
Found by Coverity (CID 215301). | |||||
2017-12-27 | Implementing worker stop after limits.requests. | Max Romanov | 2 | -4/+14 | |
2017-12-27 | Rescheduling of pending request after configured timeout. | Max Romanov | 4 | -88/+222 | |
New optional configuration parameter introduced: limits.reschedule_timeout. Default value 1 second. In the case when request is written to the port socket 'in advance', it is called 'pending'. On every completed request, the head of pending request is checked against reschedule timeout. If this request waiting for execution longer than timeout, it is cancelled, new port selected for this request. | |||||
2017-12-27 | Fixing code style. | Max Romanov | 1 | -16/+16 | |
2017-12-27 | Fixing application timeout. | Max Romanov | 4 | -107/+362 | |
Application timeout limits maximum time of worker response in processing particular request. Not including the time required to start worker, time in request queue etc. | |||||
2017-12-27 | Changing worker selection precedence. | Max Romanov | 2 | -23/+48 | |
This patch increase precedence of non-started worker over busy worker. 1. idle worker; 2. start new worker; 3. busy worker, but can accept request in advance; | |||||
2017-12-27 | Implementing the ability to cancel request before worker starts processing it. | Max Romanov | 14 | -357/+542 | |
2017-12-27 | HTTP parser: introduced nxt_http_parse_fields(). | Valentin Bartenev | 2 | -0/+19 | |
2017-12-27 | Introducing application 'atexit' hook. | Max Romanov | 7 | -5/+36 | |
Finalizing Python interpreter. This closes #65 issue on GitHub. | |||||
2017-12-26 | nxt_conn_close() should disable all pending write operations. | Igor Sysoev | 1 | -0/+6 | |
2017-12-26 | HTTP parser: fixed memory overflow in the collisions test. | Valentin Bartenev | 1 | -0/+1 | |
The level hash uses the NULL value as the indicator of a free entry in a bucket. So, inserting a NULL value breaks the hash and can lead to a bucket overflow. In case of the collision counter, the value wasn't initialized, since it's not needed for the purpose of checking collisions. As a result, it might contain any garbage from the stack and in some rare cases the value was NULL. Now the value is initilized. | |||||
2017-12-25 | HTTP parser: reworked header fields handling. | Valentin Bartenev | 7 | -427/+445 | |
2017-12-25 | Restoring apps in case of reconfiguration error. | Max Romanov | 1 | -0/+3 | |
2017-12-13 | Introducing Unit version check in Go package. | Max Romanov | 4 | -65/+122 | |
To communicate with the Go program, Unit setup environment variable named NXT_GO_PORTS with value contains Unit version, stream id to confirm application is started, and Unit ports information. Go Unit package parses this string and compares runtime version with compile time version. In case of parse error or version mismatch, ListenAndServe() returns with the error. | |||||
2017-12-08 | HTTP parser: improved detection of corrupted request line. | Valentin Bartenev | 1 | -1/+43 | |
2017-12-08 | HTTP parser: slightly improved readability of code. | Valentin Bartenev | 1 | -103/+101 | |
As suggested by Igor Sysoev. | |||||
2017-12-07 | Fixed protocol version string handling in router. | Valentin Bartenev | 1 | -1/+1 | |
2017-12-06 | Go: removing request registry. | Max Romanov | 11 | -244/+96 | |
Passing unsafe.Pointers (void *) from Go to C is complicated by an attempt to make such pointers less unsafe. A straightforward optimization is to replace 'unsafe.Pointer' with 'uintptr' (thanks to Xin Huang for the idea: https://stackoverflow.com/a/44826533 ). As a result, request registry with mutex is gone. | |||||
2017-12-05 | Fixing Go package build in NetBSD. | Max Romanov | 1 | -1/+1 | |
Bug introduced in 585c8068a6d7. | |||||
2017-12-01 | Making Go package source distributable and renaming to 'nginx/unit'. | Max Romanov | 8 | -85/+34 | |
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-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-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: move existing tests to "src" folder. | Andrey Zelenkov | 18 | -0/+3236 | |
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-20 | Version bump. | Igor Sysoev | 1 | -2/+2 | |
2017-10-19 | Fixing Go package build. | Max Romanov | 5 | -14/+21 | |
Go package build was broken by change 365:28b2a468be43. | |||||
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. |