summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2019-05-30Fixed segfault with empty routes array.Igor Sysoev1-9/+6
2019-05-30Fixed segfault with empty rule array.Igor Sysoev1-3/+3
2019-05-30Java: added java module in configure help.Max Romanov1-0/+3
2019-05-30Java: fixing typo in context initialization.Max Romanov1-1/+1
2019-05-30Java: fixing request scheme using 'tls' flag.Max Romanov2-2/+6
2019-04-26Tests: more routing tests with arrays.Andrey Zelenkov1-0/+407
2019-04-26Tests: TestControl.conf_post() introduced.Andrey Zelenkov1-0/+4
2019-04-26Tests: TestControl refactored.Andrey Zelenkov1-39/+48
2019-04-26Tests: check application configuration loading.Andrey Zelenkov8-7/+12
2019-04-24Configuration: support for POST operations on arrays.Valentin Bartenev3-20/+74
It allows to add an array element without specifying the index.
2019-04-24Configuration: support for manipulations of array elements.Valentin Bartenev1-29/+141
Now PUT and DELETE operations also work on elements. This closes #242 issue on GitHub.
2019-04-24Refactored nxt_conf_op_compile().Valentin Bartenev1-7/+8
Now index is always initialized for create operations. The changes in nxt_conf_op_compile() simplify adding upcoming support of operations with arrays. No functional changes.
2019-04-24Removed unused field from nxt_conf_op_s.Valentin Bartenev1-2/+1
2019-04-24Packages: using "pass" option in config examples.Valentin Bartenev33-39/+39
The "application" option has been deprecated since 1.8.0.
2019-04-22Tests: using blocking for large output.Andrey Zelenkov1-0/+4
2019-04-22Tests: read_timeout increased for incomplete requests.Andrey Zelenkov2-7/+9
Also fixed test without \"Host\" header.
2019-04-22Tests: fixed naming.Andrey Zelenkov1-1/+1
2019-04-22Tests: using "pass" option instead of deprecated "application".Valentin Bartenev13-39/+44
2019-04-22Packages: Ubuntu 19.04 "disco" support added.Andrei Belov4-2/+84
2019-04-18Tests: using low-case header names in Node.js tests.Andrey Zelenkov4-6/+6
2019-04-17Node.js: using low-case header names as key in req.headers.Max Romanov1-4/+17
Node.js modules (body-parser, row-body) search low-cased names ('content-length', 'content-type' etc.) to properly assemble request body. This closes #246 issue on GitHub.
2019-04-15Tests: more wildcard pattern tests for routing.Andrey Zelenkov1-0/+304
2019-04-15Tests: wait more time on Unit closing.Andrey Zelenkov1-1/+1
2019-04-15Tests: added time to handle requests in access_log partial tests.Andrey Zelenkov1-4/+12
2019-04-12Controller: rejecting double wildcards.Valentin Bartenev1-1/+6
2019-04-12Simplified cycles in nxt_http_route_rule().Valentin Bartenev1-40/+24
2019-04-10Added support for wildcards in the middle of match patterns.Igor Sysoev2-24/+129
2019-04-09Tests: check unitd availability before start.Andrey Zelenkov1-2/+7
2019-04-09Tests: read_timeout increased.Andrey Zelenkov1-2/+2
2019-04-09Tests: speed up tests.Andrey Zelenkov11-8/+59
2019-04-09Tests: wait_for_record() introduced.Andrey Zelenkov6-85/+59
2019-04-09Tests: added "name" argument for search_in_log().Andrey Zelenkov1-2/+2
2019-04-09Tests: style.Andrey Zelenkov1-12/+3
2019-04-09Tests: simplified module checking.Andrey Zelenkov18-35/+21
2019-04-03Backed out changeset f74d4dd9c3db.Valentin Bartenev1-0/+8
This closes #240 issue on GitHub.
2019-04-02Removing unused variables and assignments.Max Romanov1-8/+5
Warnings introduced in 53533ba0097c commit.
2019-04-01Adding 'connection' to request as an alias to 'socket'.Max Romanov1-4/+11
Adding actual 'remoteAddress' and 'localAddress' into socket object. This closes #232 issue on GitHub.
2019-04-01Introducing close event to notify about server stop.Max Romanov2-0/+25
This closes #236 on GitHub. Thanks to 0xcdcdcdcd.
2019-04-01Adding syntax sugar.Max Romanov5-654/+882
With exceptions and overloads.
2019-03-28Tests: unit module refactoring.Andrey Zelenkov33-918/+931
2019-03-26Tests: speed up Java tests.Andrey Zelenkov1-1/+5
2019-03-26Tests: style.Andrey Zelenkov18-2380/+4159
2019-03-26Packages: added RHEL 8 support.Andrei Belov4-3/+16
2019-03-25Turning off port read event state after main process fork.Max Romanov2-2/+1
Master port stores two file descriptors and works as a read port on the master process side. After a fork, the port switches into write mode and the read socket closes, but the same event structure is used for the write socket. However, the inherited structure remained in read state, telling the epoll engine to use MOD operation instead of ADD. The patch resets read event state, so the engine may write using proper ADD operation.
2019-03-22Ignoring EPERM error when changing application process uid/gid.Max Romanov1-16/+33
This closes #228 issue on GitHub.
2019-03-22Destroying pool in case of error.Max Romanov2-2/+2
This closes #233 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao).
2019-03-22Style fixing.Max Romanov1-0/+1
This closes #233 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao).
2019-03-21Adjusting request schema value according to connection tls state.Max Romanov14-31/+103
This closes #223 issue on GitHub.
2019-03-18Removing unused local variable.Max Romanov1-7/+0
2019-03-18Setting request error flag in error handler.Max Romanov1-0/+2
Absence of this flag is the reason of memory leak in case when client disconnected before receiving all response data.