summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2018-01-10Tests: style.Andrey Zelenkov4-22/+11
2018-01-10Tests: --no-daemon option used for unit.Andrey Zelenkov1-12/+31
2018-01-10Tests: remove temporary folder when module not found.Andrey Zelenkov1-0/+1
2018-01-09HTTP parser: allowing underscore in header field names.Valentin Bartenev2-2/+2
2018-01-01Year 2018.Valentin Bartenev2-8/+8
2017-12-29Using correct pointer and size for memzero operation.Igor Sysoev2-3/+6
Found by Coverity (CID 215689).
2017-12-29Using correct pointer in test operation.Igor Sysoev1-1/+1
Found by Coverity (CID 215687).
2017-12-29Corrected allocation size of HTTP response header.Igor Sysoev1-2/+6
2017-12-29Version bump.Igor Sysoev1-2/+2
2017-12-28Packages: fixed building on 64-bit Debian 9 and Ubuntu 17.10.Andrei Belov2-2/+2
2017-12-28Added tag 0.3 for changeset b8400e8feb36Igor Sysoev1-0/+1
2017-12-28Fixed Go package and PHP module building.0.3Igor Sysoev2-2/+2
Go package and PHP module could not be built after changeset 5817734dd9b9.
2017-12-28Removed 0.3 tag, again.Valentin Bartenev1-7/+0
2017-12-28Removed duplicate declaration.Igor Sysoev8-10/+7
2017-12-28Packages: hardening flags for rpm.Andrei Belov2-2/+13
2017-12-28Packages: hardening flags for deb.Andrei Belov3-9/+33
2017-12-28Packages: added support for Ubuntu 17.10.Andrei Belov6-0/+159
2017-12-28Packages: added python 3.4 module on Debian 8.Andrei Belov1-0/+1
2017-12-28Removed tag 0.3Igor Sysoev1-0/+2
2017-12-28Added tag 0.3 for changeset c059dbae9ac3Igor Sysoev1-0/+2
2017-12-28Removed duplicate declaration.Igor Sysoev1-3/+0
2017-12-28Disabled Nagle algorithm for keep-alive connections.Igor Sysoev1-0/+4
2017-12-28Fixing memory leak introduced in changeset 5817734dd9b9.Igor Sysoev1-1/+4
2017-12-28Removed tag 0.3Igor Sysoev1-0/+2
2017-12-28Added tag 0.3 for changeset ab13db235c19Igor Sysoev1-0/+1
2017-12-28Added version 0.3 CHANGES.Igor Sysoev2-0/+188
2017-12-28HTTP keep-alive connections support.Igor Sysoev17-891/+1993
2017-12-28Changed nxt_mp_retain() and nxt_mp_release() interfaces.Igor Sysoev9-65/+72
2017-12-28Removed unused variable assignment.Max Romanov1-1/+0
Found by Coverity (CID 215301).
2017-12-27Implementing worker stop after limits.requests.Max Romanov2-4/+14
2017-12-27Rescheduling of pending request after configured timeout.Max Romanov4-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-27Fixing code style.Max Romanov1-16/+16
2017-12-27Fixing application timeout.Max Romanov4-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-27Changing worker selection precedence.Max Romanov2-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-27Implementing the ability to cancel request before worker starts processing it.Max Romanov14-357/+542
2017-12-27HTTP parser: introduced nxt_http_parse_fields().Valentin Bartenev2-0/+19
2017-12-27Introducing application 'atexit' hook.Max Romanov7-5/+36
Finalizing Python interpreter. This closes #65 issue on GitHub.
2017-12-26Enabled exporting symbols for NetBSD.Sergey Kandaurov1-1/+2
2017-12-26nxt_conn_close() should disable all pending write operations.Igor Sysoev1-0/+6
2017-12-26HTTP parser: fixed memory overflow in the collisions test.Valentin Bartenev1-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-25HTTP parser: reworked header fields handling.Valentin Bartenev7-427/+445
2017-12-25Restoring apps in case of reconfiguration error.Max Romanov1-0/+3
2017-12-15Introducing --lib-path options for Python module linkage.Max Romanov1-7/+17
This option is useful when python-config does not setup path to libpython, which is non standard.
2017-12-13Introducing Unit version check in Go package.Max Romanov4-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-13Tests: removed unused decorators.Andrey Zelenkov3-6/+3
2017-12-13Tests: http() function introduced.Andrey Zelenkov1-32/+14
2017-12-12Tests: fixed "negative workers" test.Andrey Zelenkov1-1/+1
2017-12-08HTTP parser: improved detection of corrupted request line.Valentin Bartenev1-1/+43
2017-12-08HTTP parser: slightly improved readability of code.Valentin Bartenev1-103/+101
As suggested by Igor Sysoev.
2017-12-07Fixed protocol version string handling in router.Valentin Bartenev1-1/+1