Commit Graph

210 Commits

Author SHA1 Message Date
Zeping Bai
427e9269ef
change: don't expose public API by default & remove plugin interceptor (#6196) 2022-01-27 12:57:53 +08:00
tzssangglass
800b890f8e
fix: add missing labels after merging route and service (#6177) 2022-01-21 17:21:20 +08:00
罗泽轩
7a31ec786d
fix: upgrade jsonschema to 0.9.6 (#6091) 2022-01-14 09:35:18 +08:00
seven dickens
3f66fab63e
fix: resolve unambiguous fully-qualified domain name(FQDN), i.e. ended in a dot (#5999) 2022-01-05 09:32:13 +08:00
罗泽轩
f06f6cc0e8
fix(upstream): load imbalance when it's referred by multiple routes (#5462) 2021-11-11 09:27:58 +08:00
Bisakh
8bb5adcb66
test: introducing ---exec & --- stdin section to run cmd (#5460) 2021-11-10 09:21:57 +08:00
Zeping Bai
c2f5eba5cf
feat: support advanced matching based on post form (#5409) 2021-11-09 09:02:56 +08:00
罗泽轩
9fc67b1c39
test: the http2 is missing which causes weird result (#5382) 2021-11-01 15:36:03 +08:00
Bisakh
83651715a6
test: grpc stream proxy test with test nginx (#5319)
Co-authored-by: leslie <59061168+leslie-tsang@users.noreply.github.com>
2021-10-28 08:49:08 +08:00
Bisakh
60f14bb1e3
refactor: migrate grpc proxy tests from shell to test Nginx (#5299) 2021-10-26 09:05:11 +08:00
oliver
c46213a6e2
fix: route's timeout should not be overwrittern by service (#5219) 2021-10-18 09:17:02 +08:00
罗泽轩
621c7b8199
fix: pass correct host header to health checker target nodes (#5175) 2021-10-09 17:37:51 +08:00
leslie
34df010cfc
chore: fix typo in init.lua (#5161) 2021-10-02 11:18:42 +08:00
罗泽轩
6096d7f9f7
fix: upgrade lua-resty-balancer to 0.04 (#5144) 2021-09-30 11:34:52 +08:00
罗泽轩
b52f95b53c
fix(upstream): should not override default keepalive value (#5054)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-09-14 08:49:00 +08:00
罗泽轩
27c37b191f
fix: avoid copying unwanted data when the domain's IP changed (#4952)
It happened when we are handling upstream with domain inside a route.

Fix #4938
Fix #4941

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-09-02 09:38:30 +08:00
jackstraw
3c01202d70
fix(plugin_config): recover plugin when plugin_config changed (#4888)
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-08-30 10:54:32 +08:00
nic-chen
1d5ecca14f
fix: the issue that plugins in global rule may be cached to route (#4867) 2021-08-23 17:32:34 +08:00
罗泽轩
4462e11b29
fix(balancer): ensure fallback for chash balancer with vars_combinations can work (#4779)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-09 19:11:24 +08:00
罗泽轩
a11b3cc943
chore: avoid using 500 as it will be captured as APISIX's bug (#4737)
Let's migrate the existing code from 500 to 503.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-03 08:53:18 +08:00
罗泽轩
e7d26dc4f0
feat: allow user-defined balancer with metadata in node (#4605) 2021-07-21 13:06:04 +08:00
罗泽轩
36adb11ccb
feat(discovery): check node format (#4610)
To prevent 500 error or infinite loop because of a malformed nodes
format.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-16 10:27:34 +08:00
罗泽轩
1ab12ac2b0
chore: make t/node/upstream-retries.t stable (#4599)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-15 11:48:44 +08:00
罗泽轩
302073ed22
test: clean fake upstream API (#4578)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:53:05 +08:00
chen zhuo
307c7f69eb
feat: Add option retry_timeout that like nginx's proxy_next_upstream_timeout (#4574)
Co-authored-by: zhuo.chen <zhuo.chen@upai.com>
2021-07-14 09:53:29 +08:00
罗泽轩
ba71a29d3d
feat: allow setting separate keepalive pool (#4506)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-01 09:50:09 +08:00
罗泽轩
1cf9075750
docs: clarify why we require active health check (#4436) 2021-06-18 14:54:26 +08:00
Joshua Yang
91a048e68e
feat: allow to set custom timeout for route (#4340)
related #4258
2021-06-01 13:39:29 +08:00
罗泽轩
c70d797c7c
fix(DNS): support IPv6 resolver (#4242) 2021-05-14 08:54:01 +08:00
罗泽轩
045c35140f
feat: support passing different host headers in multiple nodes (#4208)
Fix #2620
Fix #4197
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-13 22:26:27 +08:00
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