Commit Graph

1660 Commits

Author SHA1 Message Date
Andrei Belov e1de5bcfab Packages: log and pid paths made consistent. 2019-07-04 14:14:29 +03:00
Andrey Zelenkov bcb9048c46 Tests: adjusted inactive interval in Java app for slow hosts. 2019-07-02 16:44:08 +03:00
Andrey Zelenkov 29225c4fc6 Tests: removed misleading comments in test_routing.t. 2019-07-02 15:36:13 +03:00
Max Romanov b1ee073707 PHP: removing excessive debug message. 2019-06-28 12:20:00 +03:00
Max Romanov ce17fef73d Fixed application crash handling in router.
Before this fix, request in router may hang until timeout expired if
application crashed during request processing.
2019-06-28 12:19:54 +03:00
Max Romanov 9ea4be7e4e Fixing allocation alignment for port fragments.
All allocated blocks for lvlhash required to be aligned because lower
address bits used for various extra information.  Using unaligned blocks
may cause invalid memory aceess.

This was issue found on buildbot running large configuration tests.
2019-06-28 12:19:48 +03:00
Max Romanov 3ceec5f4d2 Java: adding Content-Type response header for static files. 2019-06-28 12:19:40 +03:00
Igor Sysoev a2c1907fda Decreased level of some shutdown() and send() errors. 2019-06-18 18:01:03 +03:00
Max Romanov 24400b3a5d Node.js: packaging new nxt_napi.h.
File nxt_napi.h (introduced in 53533ba0097c) added into packaged files
list.

This closes #261 issue on GitHub.
2019-06-17 18:16:06 +03:00
Igor Sysoev 1f8c395fc0 Cookie-based routing should be case-sensitive. 2019-06-10 18:47:35 +03:00
Valentin Bartenev b2a0620483 Version bump. 2019-06-10 15:53:26 +03:00
Andrei Belov c62cb7acdc Packages: switched to Java 11 on Ubuntu 18.04. 2019-06-07 14:17:37 +03:00
Andrei Belov be515d2a36 Packages: added Python 3.7 on Ubuntu 18.04.
This closes #251 issue on GitHub.
2019-06-04 12:16:57 +03:00
Valentin Bartenev 7da320a93a Added tag 1.9.0 for changeset dda6319de785 2019-05-30 17:39:43 +03:00
Valentin Bartenev 081a6baeb7 Generated Dockerfiles for Unit 1.9.0. 2019-05-30 17:16:24 +03:00
Valentin Bartenev b2d7d6fb02 Added version 1.9 CHANGES. 2019-05-30 17:16:23 +03:00
Andrey Zelenkov 7927c20b3b Tests: routing "cookies" tests. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov c0ed2c02ab Tests: routing "arguments" tests. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov 89bf008880 Tests: routing "headers" tests. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov 67772cd3e9 Tests: fixed tests without "Host" header. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov 90c5d3f5c0 Tests: adjusted skipping tests. 2019-05-30 16:46:04 +03:00
Andrey Zelenkov 7ad4a76704 Tests: configure arrays with PUT tests. 2019-05-30 16:44:14 +03:00
Igor Sysoev 6a775f58af Added routing based on cookies. 2019-05-30 15:33:51 +03:00
Igor Sysoev 5fb3daa5af Added routing based on arguments. 2019-05-30 15:33:51 +03:00
Igor Sysoev 16273cf1c6 Handling routing errors. 2019-05-30 15:33:51 +03:00
Igor Sysoev 0ba7cfce75 Added routing based on header fields. 2019-05-30 15:33:51 +03:00
Igor Sysoev 3aaebe4169 Fixed segfault with empty routes array. 2019-05-30 15:33:51 +03:00
Igor Sysoev f2aa190f60 Fixed segfault with empty rule array. 2019-05-30 15:33:51 +03:00
Max Romanov 6eba5ddd42 Java: added java module in configure help. 2019-05-30 15:02:10 +03:00
Max Romanov 8241539734 Java: fixing typo in context initialization. 2019-05-30 15:02:09 +03:00
Max Romanov 6a2928b4bf Java: fixing request scheme using 'tls' flag. 2019-05-30 15:02:07 +03:00
Andrey Zelenkov c4ed3025b3 Tests: more routing tests with arrays. 2019-04-26 17:35:32 +03:00
Andrey Zelenkov 2ceee3471e Tests: TestControl.conf_post() introduced. 2019-04-26 17:35:32 +03:00
Andrey Zelenkov bc4a1d86b9 Tests: TestControl refactored. 2019-04-26 17:35:31 +03:00
Andrey Zelenkov 644e6df687 Tests: check application configuration loading. 2019-04-26 17:35:26 +03:00
Valentin Bartenev 6a6bc63c48 Configuration: support for POST operations on arrays.
It allows to add an array element without specifying the index.
2019-04-24 20:31:00 +03:00
Valentin Bartenev 4d35a7bbac Configuration: support for manipulations of array elements.
Now PUT and DELETE operations also work on elements.
This closes #242 issue on GitHub.
2019-04-24 20:31:00 +03:00
Valentin Bartenev 30768b7b3c Refactored nxt_conf_op_compile().
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-24 20:31:00 +03:00
Valentin Bartenev 1467d34d73 Removed unused field from nxt_conf_op_s. 2019-04-24 20:31:00 +03:00
Valentin Bartenev 094cc2fc99 Packages: using "pass" option in config examples.
The "application" option has been deprecated since 1.8.0.
2019-04-24 20:31:00 +03:00
Andrey Zelenkov 7a559c6568 Tests: using blocking for large output. 2019-04-22 18:52:46 +03:00
Andrey Zelenkov 5d15d8449d Tests: read_timeout increased for incomplete requests.
Also fixed test without \"Host\" header.
2019-04-22 18:52:35 +03:00
Andrey Zelenkov 1c56579ebd Tests: fixed naming. 2019-04-22 18:37:46 +03:00
Valentin Bartenev c1a3b06d03 Tests: using "pass" option instead of deprecated "application". 2019-04-22 18:20:53 +03:00
Andrei Belov 48ae47017b Packages: Ubuntu 19.04 "disco" support added. 2019-04-22 13:50:02 +03:00
Andrey Zelenkov 0c12afbf6a Tests: using low-case header names in Node.js tests. 2019-04-18 19:27:12 +03:00
Max Romanov c6e96647a1 Node.js: using low-case header names as key in req.headers.
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-17 19:15:41 +03:00
Andrey Zelenkov 704529e4b1 Tests: more wildcard pattern tests for routing. 2019-04-15 16:08:53 +03:00
Andrey Zelenkov b3179538ef Tests: wait more time on Unit closing. 2019-04-15 15:52:32 +03:00
Andrey Zelenkov 0f8a602c3c Tests: added time to handle requests in access_log partial tests. 2019-04-15 15:52:32 +03:00