Commit Graph

844 Commits

Author SHA1 Message Date
罗泽轩
302073ed22
test: clean fake upstream API (#4578)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:53:05 +08:00
罗泽轩
03a9b80055
change: enable stream proxy only by default (#4580)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:33:36 +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
Bill
cfd4045357
feat: add prefix when using config_etcd:getkeys (#4561)
Co-authored-by: 黄圣彪 <huangshengbiao@bilibili.com>
2021-07-13 20:23:49 +08:00
Shuyang Wu
7abd9585cf
chore: update tinyyaml lib and remove unnecessary quotes in config (#4484) 2021-07-13 14:49:30 +08:00
罗泽轩
808d511dd4
feat(stream): add limit-conn (#4515)
* feat(stream): add limit-conn

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* break down long bracket to avoid missing the closing long bracket "]]"

https: //github.com/apache/apisix/pull/4515/checks?check_run_id=2962435093
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-13 13:17:52 +08:00
罗泽轩
a1154be209
test: avoid hardcode in the fuzzing test (#4591)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-13 11:58:59 +08:00
Applenice
131998df4f
feat: support lua_shared_dict variable in ngx_tpl.lua loaded via configuration file (#4524) 2021-07-13 10:02:34 +08:00
Arthur.Zhang
06d0030dcc
feat(batch-requests): allow customizing uri in batch-requests (#4563) 2021-07-10 18:13:30 +08:00
罗泽轩
42ab614927
feat: allow additional properties in upstream (#4570)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-10 12:02:54 +08:00
Liu Peng
9f45341ff0
fix: ctx.var.cookie_* cookie not found log (#4564)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
2021-07-09 15:44:43 +08:00
Arthur.Zhang
765b7f192c
feat(cli): check listen port conflicts with each other (#4540) 2021-07-07 20:06:08 +08:00
罗泽轩
3602646ff7
test: use latest boofuzz (#4541)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-07 09:59:37 +08:00
罗泽轩
a12c0e2973
test: avoid from moudle_name import * (#4537)
Fix #3688

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-06 09:50:41 +08:00
罗泽轩
38785557be
chore: dismiss warning "load balancing method redefined" (#4520)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-05 09:16:43 +08:00
wisdom
de20916e5f
feat(key-auth): supporting key-auth plugin to get key from query string (#4490) 2021-07-02 11:05:49 +08:00
Mao18
2832a69af5
feat(cli): check if control port conflicts with the node port (#4504)
Co-authored-by: zhangya <zhangya@cvte.com>
2021-07-02 10:57:57 +08:00
Applenice
cd8afe6ec4
feat(ip-restriction): support user-defined configuration message (#4493) 2021-07-02 08:56:30 +08:00
罗泽轩
047f5e7d50
test: make fuzzing-ci pass again (#4510) 2021-07-01 12:28:31 +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
Shuyang Wu
994f0209a1
feat: enable etcd health-check (#4191) 2021-06-30 21:16:03 +08:00
chen zhuo
20d9dd21b6
feat(kafka-logger): support for specified the log formats via admin API. (#4483)
* feat(kafka-logger): support for specified the log formats via admin API.

* add kafka-logger log-format test case

* add english docs

Co-authored-by: zhuo.chen <zhuo.chen@upai.com>
2021-06-30 14:13:19 +08:00
Shuyang Wu
d0bc7238c9
test: make t/chaos/kill-chaos.t stable (#4503)
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2021-06-30 11:12:25 +08:00
jackfu
756fad16cc
fix(request-id): we can use different ids with the same request (#4479) 2021-06-30 10:33:14 +08:00
罗泽轩
a7eaaed008
test: ensure health check is run completely (#4500) 2021-06-29 14:47:57 +08:00
罗泽轩
b76f20eddf
feat: patch UDP socket to resolve host by ourselves (#4473)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-24 22:56:33 -04:00
罗泽轩
eea3d84eba
fix(ext-plugin): should use separate tokens for {pre,post}-req (#4458)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-23 21:45:56 -04:00
罗泽轩
74cc5c3420
feat(control-api): add a way to trigger gc (#4472)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-23 21:45:00 -04:00
罗泽轩
4667633360
feat(stream): support client certificate verification (#4445)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-19 10:05:00 +08:00
罗泽轩
1cf9075750
docs: clarify why we require active health check (#4436) 2021-06-18 14:54:26 +08:00
罗泽轩
8578fe032e
feat(stream): match route with SNI (#4433)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-17 09:29:45 +08:00
罗泽轩
8282046bd8
feat(client-control): set client_max_body_size dynamically (#4423)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-16 17:25:50 +08:00
罗泽轩
b822423b9a
feat(stream): accept tls over tcp (#4409) 2021-06-11 17:23:16 +08:00
罗泽轩
68711e443d
feat(ext-plugin): stop the runner with SIGTERM (#4367) 2021-06-11 13:04:42 +08:00
罗泽轩
035571aa41
feat(stream): support domain in the upstream (#4386) 2021-06-11 10:28:38 +08:00
罗泽轩
2feb48f4a0
test: make t/plugin/ext-plugin/sanity.t stable (#4407)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-11 08:45:31 +08:00
罗泽轩
4106ef5b58
fix: release ctx when the client aborts (#4405) 2021-06-10 15:09:51 -04:00
ken zhou
b6a60d0df6
feat: limit-req support nodelay (#4395)
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: Yuelin Zheng <2226815922@qq.com>
Co-authored-by: jianzhou <zhoujian1@huya.com>
2021-06-10 21:06:29 +08:00
Joshua Yang
66bd993f87
feat: add etcd retry when init (#4361) 2021-06-10 14:40:48 +08:00
罗泽轩
85dfcb7902
fix(stream): skip route configuration tombstone (#4398)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-09 13:16:14 -04:00
罗泽轩
8bf8cc1916
feat(mqtt-proxy): support domain (#4391)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-09 19:23:40 +08:00
罗泽轩
208b6b4d25
change: check metadata_schema with check_schema like the other schema (#4381)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-09 08:58:34 +08:00
罗泽轩
e6c69318e1
fix(admin): correct the resources' count field (#4385)
Here I use separate test files for the resources to ensure
the number of resource is 0.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-08 16:54:29 +08:00
罗泽轩
c1f80850e5
test: add case for default health status (#4378)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-05 17:12:47 -04:00
罗泽轩
62ceab5710
fix(ext-plugin): missing schema check (#4359)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-03 09:39:51 +08:00
Demogorgon314
804437fe8a
perf: use events optimize nacos service discovery (#4347)
related #4346
2021-06-02 17:49:44 +08:00
罗泽轩
619ac84c88
fix(ext-plugin): when token is stale, refresh token and try again (#4345) 2021-06-01 19:46:26 +08:00
罗泽轩
397044a844
test: make t/config-center-yaml/plugin.t stable (#4352)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-01 18:44:23 +08:00
罗泽轩
5ebc4f65c1
fix(ext-plugin): pass environment variables (#4349)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-01 18:43:42 +08:00
Joshua Yang
91a048e68e
feat: allow to set custom timeout for route (#4340)
related #4258
2021-06-01 13:39:29 +08:00