Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -36/+29 | |
Previously, it was necessary to support older versions of Python for compatibility. F-strings were released in Python 3.6. Python 3.5 was marked as unsupported by the end of 2020, so now it's possible to start using f-strings safely for better readability and performance. | |||||
2022-10-11 | Tests: don't try to return response when "no_recv" is True. | Andrei Zeliankou | 1 | -1/+1 | |
2022-09-19 | HTTP: fixed cookie parsing. | Zhidao HONG | 1 | -0/+14 | |
The fixing supports the cookie value with the '=' character. This is related to #756 PR on Github. Thanks to changxiaocui. | |||||
2022-08-08 | Tests: added tests with UNIX sockets in "source". | Andrei Zeliankou | 1 | -3/+11 | |
2022-04-11 | Tests: style. | Andrei Zeliankou | 1 | -16/+25 | |
2021-12-12 | Tests: fixed type of applications. | Andrei Zeliankou | 1 | -8/+8 | |
2021-11-10 | Tests: added more tests for "query" routing pattern. | Andrei Zeliankou | 1 | -8/+16 | |
2021-11-05 | Router: matching query string support. | Zhidao HONG | 1 | -0/+44 | |
The "query" option matches decoded arguments, including plus ('+') to space (' '). Like "uri", it can be a string or an array of strings. | |||||
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2021-08-05 | Router: fixed crash when matching an empty address pattern array. | Oisin Canty | 1 | -0/+4 | |
A crash would occur when the router tried to match an against an empty address pattern array. The following configuration was used to reproduce the issue: { "listeners": { "127.0.0.1:8082": { "pass": "routes" } }, "routes": [ { "match": { "source": [] }, "action": { "return": 200 } } ] } | |||||
2021-05-24 | Tests: minor fixes. | Andrei Zeliankou | 1 | -71/+19 | |
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -6/+5 | |
2021-03-31 | Tests: removed skip_alert(). | Andrei Zeliankou | 1 | -4/+1 | |
2021-02-18 | Tests: added regex check. | Andrei Zeliankou | 1 | -0/+12 | |
2021-01-14 | Tests: added missing checks for configuration results. | Andrei Zeliankou | 1 | -1/+1 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2020-12-08 | Tests: skip_alert() converted to the fixture. | Andrei Zeliankou | 1 | -4/+3 | |
2020-12-06 | Tests: options moved to the separate class. | Andrei Zeliankou | 1 | -1/+1 | |
This change is necessary to separate the logic and prevent possible circular dependency. | |||||
2020-11-17 | Router: matching regular expressions support. | Axel Duch | 1 | -0/+42 | |
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -7/+5 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -1/+2 | |
2020-10-07 | Router: fixed "not empty" pattern matching. | Valentin Bartenev | 1 | -0/+15 | |
The "!" pattern should be opposite to "", i.e. match only non-empty values. But after 3c00af54b937 it was equal to "!*", which is wrong. | |||||
2020-08-28 | Router: fixed "pass" to upstreams. | hongzhidao | 1 | -0/+79 | |
Messed up return values in nxt_upstream_find() caused error in applying any configuration with a valid "pass" value in router configuration pointing to upstream. That wasn't the case in "listeners" objects, where the return value wasn't checked. Also, it caused segfault in cases where the "pass" option was configured with variables and resulting value was pointing to a non-existent upstream. Added missing return checks as well to catch possible memory allocation errors. The bug was introduced in d32bc428f46b. This closes #472 issue on GitHub. | |||||
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -1061/+816 | |
2020-07-10 | Router: route patterns multi wildcards fix. | Axel Duch | 1 | -0/+21 | |
Matching 'start' and 'end' position now adjusted to avoid false matching. This is related to #434 issue on Github. Thanks to 洪志道 (Hong Zhi Dao). | |||||
2020-07-04 | Router: route patterns multi wildcards support. | Axel Duch | 1 | -5/+44 | |
2020-04-14 | Tests: minor fixes and style. | Andrei Zeliankou | 1 | -1/+1 | |
2020-03-27 | Tests: added tests for "return" action. | Andrei Zeliankou | 1 | -136/+25 | |
2020-05-15 | Tests: added test for encoding in the "pass" option. | Andrei Zeliankou | 1 | -0/+55 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -1/+2 | |
2020-05-14 | Tests: decode uri and args. | Axel Duch | 1 | -35/+158 | |
2020-04-24 | Tests: introduced module version specification in prerequisites. | Andrei Zeliankou | 1 | -1/+1 | |
2020-01-31 | Tests: more routing tests with negative rules. | Andrei Zeliankou | 1 | -0/+57 | |
2020-03-03 | Tests: check unique options in "action" object. | Andrei Zeliankou | 1 | -0/+50 | |
2020-03-03 | Improved validation of the "action" object. | Valentin Bartenev | 1 | -2/+0 | |
Now it enforces the mutual exclusivity of "pass", "proxy", and "share" options. | |||||
2020-02-27 | Tests: added test with invalid IPv6 address in routing block. | Andrei Zeliankou | 1 | -0/+1 | |
2019-12-24 | Tests: routing by listener address. | Axel Duch | 1 | -0/+58 | |
2019-12-24 | Tests: routing by client address configuration. | Axel Duch | 1 | -0/+353 | |
2019-12-09 | Tests: routing tests refactored. | Andrei Zeliankou | 1 | -1770/+329 | |
2019-10-23 | Tests: more URI normalization tests. | Andrey Zelenkov | 1 | -8/+52 | |
2019-10-23 | Tests: check initial configuration in test_routing.py. | Andrey Zelenkov | 1 | -27/+31 | |
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 1 | -1/+1 | |
2019-07-24 | Added routing based on request scheme. | Axel Duch | 1 | -0/+94 | |
Scheme matches exact string “http” or “https”. | |||||
2019-07-14 | Tests: simplified one route case configuration. | Andrey Zelenkov | 1 | -661/+406 | |
No functional changes. | |||||
2019-07-02 | Tests: removed misleading comments in test_routing.t. | Andrey Zelenkov | 1 | -2/+2 | |
2019-06-10 | Cookie-based routing should be case-sensitive. | Igor Sysoev | 1 | -11/+22 | |
2019-05-30 | Tests: routing "cookies" tests. | Andrey Zelenkov | 1 | -0/+482 | |
2019-05-30 | Tests: routing "arguments" tests. | Andrey Zelenkov | 1 | -0/+434 | |
2019-05-30 | Tests: routing "headers" tests. | Andrey Zelenkov | 1 | -0/+481 | |
2019-05-30 | Tests: fixed tests without "Host" header. | Andrey Zelenkov | 1 | -6/+23 | |