Peter Zhu
adc9977dd0
feat: add 50x html for error page ( #4164 )
2021-05-11 16:52:48 +08:00
罗泽轩
6a7db721bb
ci: remove whitelist of whitespace check ( #4203 )
2021-05-10 11:59:51 +08:00
罗泽轩
f9148073aa
feat: patch tcp.sock.connect to use our DNS resolver ( #4114 )
...
Co-authored-by: Alex Zhang <tokers@apache.org>
2021-05-04 13:07:48 +08:00
罗泽轩
fb920c6a31
fix: avoid being taint by empty global rule ( #4087 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-25 16:51:20 +08:00
罗泽轩
544ab52a40
feat: support client certificate verification ( #4034 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-22 22:00:02 +08:00
罗泽轩
baf216dc7f
test: add FIRST to the forbidden directives ( #4072 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-19 22:16:20 +08:00
罗泽轩
ce4d8fb1e5
fix: ensure upstream with domain is cached ( #4061 )
...
Fix #4047
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-16 19:09:45 +08:00
罗泽轩
e295ebb9e8
feat: support upstream mTLS ( #4005 )
2021-04-10 18:55:20 +08:00
罗泽轩
5b2be581d8
test: add cases for wss ( #3961 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-05 11:41:25 +08:00
罗泽轩
d67da18d53
fix: make sure SNI is changed with HTTP host ( #3948 )
...
Move the variables under locations to avoid being reset by proxy-mirror.
Fix #3864
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-01 13:06:33 +08:00
罗泽轩
86e168e711
test: enable master-worker mode by default ( #3927 )
2021-03-29 23:38:07 +08:00
罗泽轩
664c760167
ci: the last day of travis ( #3926 )
2021-03-29 23:34:01 +08:00
罗泽轩
7ae302034a
test: use longer timeout for internet DNS query ( #3872 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-22 10:05:50 +08:00
罗泽轩
957bef0783
chore: remove unused consumer.id ( #3868 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-21 19:14:12 +08:00
John Bampton
9fafa43b37
chore: fix spelling, grammar and JSON example ( #3821 )
2021-03-15 08:56:43 +08:00
John Bampton
4ebccafbdc
chore: fix spelling ( #3253 )
2021-03-14 22:53:34 +08:00
罗泽轩
837f4d9a6d
test: make node/priority-balancer/sanity.t stable ( #3816 )
2021-03-12 18:06:32 +08:00
罗泽轩
8dcbe4e00d
feat: let balancer support priority ( #3755 )
...
Fix #1809
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-10 14:56:26 +08:00
罗泽轩
9885103a45
test: clean up malformed etcd data ( #3743 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-04 09:12:50 +08:00
nic-chen
7827d094c4
fix: validate plugins configuration of plugin_config
via incremental sync ( #3700 )
2021-03-01 14:43:44 +08:00
罗泽轩
e58a55fbc6
fix(chash): ensure retry can try every node ( #3651 )
...
Previously the default number of retry is equal to the number of node,
but the same node will be tried again according to its weight.
Also ensure the same picker will be used in the whole request,
especially during the retry.
2021-02-27 22:17:22 +08:00
罗泽轩
fa028c10a7
fix: cache server picker for nodes without port ( #3665 )
...
Compare with the original node which is not changed after filled
2021-02-27 20:01:05 +08:00
罗泽轩
16f017dfed
ci: avoid requesting IPv6 address as GitHub Action doesn't support it ( #3656 )
2021-02-24 16:09:25 +08:00
罗泽轩
013db0dd2f
feat: support to bind plugin config by plugin_config_id
( #3567 )
...
Fix #3532
2021-02-20 20:42:10 +08:00
罗泽轩
2401ad5043
fix: don't use port 80 for all schemes ( #3544 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-20 16:01:00 +08:00
nic-chen
82018b9cea
fix: should assign value to api_ctx.global_rules
before running global rules ( #3595 )
...
related issue #3396
2021-02-18 11:34:59 +08:00
John Bampton
696cb50ba5
feat(CI): check for trailing whitespace ( #3250 )
2021-02-16 12:14:46 +08:00
nic-chen
13f3139fbb
change: global rules should not be executed on the internal api ( #3396 )
2021-02-10 12:01:58 +08:00
罗泽轩
653e15350b
change: default to cache DNS record according to the TTL ( #3530 )
...
Since lua-resty-dns-client provides an internal cache, we don't need to
cache it twice.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-10 11:41:13 +08:00
罗泽轩
e1dbe2c4a4
feat: support DNS AAAA record ( #3484 )
2021-02-05 09:00:20 +08:00
罗泽轩
563b259a5a
feat: switch resolver to lua-resty-dns-client ( #3442 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-02 09:07:40 +08:00
大可
ba11e7fa0a
feat: ewma use p2c to improve performance ( #3300 )
2021-01-29 17:17:22 +08:00
syz
0e1cefb6eb
fix: upstream dns resolver failed response 503 ( #3398 )
...
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-01-29 16:23:20 +08:00
罗泽轩
3a09f8a8d5
feat: support specifying https in upstream to talk with https backend ( #3430 )
...
Fix #3336
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-27 20:18:57 +08:00
halfcrazy
8d61d315b8
fix: proxy_set_header Host $host may lose port info ( #2079 )
2021-01-27 13:16:07 +08:00
罗泽轩
da62190d95
feat: allow to pass SNI in HTTPS proxy ( #3420 )
...
Fix #2988
2021-01-26 23:36:12 +08:00
罗泽轩
a3c7c4098b
fix: remove stale checker before adding new one ( #3427 )
...
lua-resty-healthcheck remove target according to the `ip, port,
hostname` tuple. If the newly added target has the same tuple, it will
be removed accidently.
2021-01-26 23:33:21 +08:00
罗泽轩
3db8ebec26
feat: support gRPCS ( #3411 )
2021-01-26 11:04:16 +08:00
罗泽轩
8439c8d98d
test: make ci stable ( #3413 )
2021-01-26 00:01:48 +08:00
罗泽轩
d698220341
fix: ignore the case of configured host ( #3377 )
...
Fix #3357 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-22 10:18:50 +08:00
罗泽轩
bf16615583
test: avoid unstable case caused by delete upstream 1 ( #3385 )
...
Test cases from other files may still refer upstream 1.
2021-01-21 23:40:58 +08:00
罗泽轩
c030783607
fix: support upstream_id & consumer with grpc ( #3387 )
...
Fix #1646 .
2021-01-21 23:38:19 +08:00
罗泽轩
319c3ebefd
test: make ci stable ( #3329 )
2021-01-20 15:58:44 +08:00
罗泽轩
da99a03cbf
test: add more test to check if checker is stopped. ( #3350 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 13:32:26 +08:00
罗泽轩
4cf30bf2ac
refactor: keep health checker with the upstream's parent ( #3325 )
...
A upstream's parent can only have one running checker.
Previously, when a checker is evicted by lrucache, it is still running.
Now health checker & upstream in used is 1:1.
2021-01-18 22:21:39 +08:00
罗泽轩
abb7841d29
test: fix least conn case ( #3321 )
2021-01-18 13:17:39 +08:00
罗泽轩
6fe399c7d6
fix: avoid caching outdated discovery upstream nodes ( #3295 )
...
Fix #2369
Fix #1838
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 11:04:13 +08:00
罗泽轩
f349cc0dd4
feat: load balance by least connections ( #3304 )
...
Fix #3086
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 10:25:58 +08:00
罗泽轩
bbbdf58d55
refactor: the parent of upstream should point to its original src ( #3287 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-15 14:43:39 +08:00
ken zhou
d1d6533176
feat: support hash on vars_combinations ( #3278 )
...
related #3261
2021-01-15 10:45:46 +08:00