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
Valentin Bartenev
5e1cf14565
Controller: rejecting double wildcards.
2019-04-12 17:44:55 +03:00
Valentin Bartenev
f0cc14d394
Simplified cycles in nxt_http_route_rule().
2019-04-12 17:44:54 +03:00
Igor Sysoev
8339b15158
Added support for wildcards in the middle of match patterns.
2019-04-10 13:47:34 +03:00
Andrey Zelenkov
ac7e65a722
Tests: check unitd availability before start.
2019-04-09 20:59:41 +03:00
Andrey Zelenkov
dfb625789b
Tests: read_timeout increased.
2019-04-09 20:59:41 +03:00
Andrey Zelenkov
29b4e4431f
Tests: speed up tests.
2019-04-09 20:59:35 +03:00
Andrey Zelenkov
549f0873c2
Tests: wait_for_record() introduced.
2019-04-09 16:14:42 +03:00
Andrey Zelenkov
cfcf4da7fa
Tests: added "name" argument for search_in_log().
2019-04-09 16:14:42 +03:00
Andrey Zelenkov
8c7411415a
Tests: style.
2019-04-09 16:14:42 +03:00
Andrey Zelenkov
af24e4dec4
Tests: simplified module checking.
2019-04-09 16:14:42 +03:00
Valentin Bartenev
7b839bf5da
Backed out changeset f74d4dd9c3db.
...
This closes #240 issue on GitHub.
2019-04-03 18:40:47 +03:00
Max Romanov
6241099db2
Removing unused variables and assignments.
...
Warnings introduced in 53533ba0097c commit.
2019-04-02 16:07:49 +03:00
Max Romanov
56101e47ee
Adding 'connection' to request as an alias to 'socket'.
...
Adding actual 'remoteAddress' and 'localAddress' into socket object.
This closes #232 issue on GitHub.
2019-04-01 16:40:49 +03:00
Max Romanov
8557cb3660
Introducing close event to notify about server stop.
...
This closes #236 on GitHub.
Thanks to 0xcdcdcdcd.
2019-04-01 16:40:40 +03:00