tzssangglass
316d23074f
fix(ext-plugin): avoid using 0 as the default http status code ( #4734 )
2021-08-03 10:15:17 +08:00
Shuyang Wu
8e72f3e718
ci: fix unstable t/chaos/killchaos ( #4654 )
...
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2021-08-03 10:13:45 +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
罗泽轩
9f01ef8f2c
fix(error-log-logger): avoid sending stale error log ( #4690 )
2021-08-02 10:16:11 +08:00
罗泽轩
38561dc0cd
fix: the _graphql was incorrectly cached under ctx.var but not ctx ( #4723 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-01 19:26:27 +08:00
罗泽轩
9db2dd2399
fix(grpc-transcode): handle enum type ( #4706 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-31 16:27:11 -04:00
罗泽轩
ab16d9956f
test: save a port in the test framework ( #4677 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-31 16:10:50 -04:00
罗泽轩
b967b8acca
fix: upgrade lua-resty-expr to fix the rule validation ( #4678 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-31 12:06:09 +08:00
罗泽轩
6655a35889
fix: when a request caused a 500 error, the status was converted to 405 ( #4696 )
...
It happened when this request is not a GET or HEAD request.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-29 19:05:51 +08:00
okaybase
57236b4906
feat: set the basic id attribute when creating a resource via POST ( #4661 )
...
Co-authored-by: lixingwang <lixingwang@yiche.com>
2021-07-26 15:46:19 +08:00
罗泽轩
aa7ecfafd7
test: make t/admin/proto.t stable ( #4652 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-22 16:34:27 -04:00
罗泽轩
149b53ed5a
feat(stream): allow to set trust certificate ( #4651 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-22 16:09:58 -04:00
jackfu
f406218c0a
feat: add additional option to control the default_conn_delay option of the limit-conn plugin ( #4604 )
2021-07-22 15:23:53 +08:00
罗泽轩
a04f3649b7
feat: add gzip plugin ( #4640 )
2021-07-22 12:04:38 +08:00
罗泽轩
a461c9856d
fix(stream): sni router is broken when session reuses ( #4607 )
2021-07-22 11:08:10 +08:00
Arthur.Zhang
71bc27cc41
feat(plugin): Add new plugin ua-restriction for bot spider restriction ( #4587 )
2021-07-21 21:11:49 +08:00
罗泽轩
e7d26dc4f0
feat: allow user-defined balancer with metadata in node ( #4605 )
2021-07-21 13:06:04 +08:00
罗泽轩
1bd710db65
test: update request to adapt server's change again ( #4637 )
2021-07-21 09:40:21 +08:00
罗泽轩
44ead1f46e
feat(stream): add ip-restriction ( #4602 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-20 19:09:44 -04:00
Shuyang Wu
5d7753ef6a
ci: refactor chaos test with ginkgo ( #4560 )
2021-07-20 18:48:21 -04:00
罗泽轩
a015dc378f
test: check leak for client abort ( #4613 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-19 15:32:56 -04:00
罗泽轩
0984017471
test: update request to adapt server's change ( #4624 )
2021-07-19 14:33:00 +08:00
jackfu
554a30e64d
fix: the limit-conn plugin cannot effectively intercept requests in special scenarios ( #4585 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-07-16 11:48:36 +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
Shuyang Wu
3f295731b5
test: ensure apisix containers recover in test_etcd_healthcheck.t ( #4597 )
2021-07-16 09:13:15 +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
clown
bfa70e4f86
fix: ref check while deleting proto via Admin API ( #4575 )
2021-07-14 19:58:27 +08:00
罗泽轩
3509d1db9d
feat: enable balancer phase for plugins ( #4549 )
2021-07-14 12:16:35 +08:00
罗泽轩
9bcca2c1f2
fix(skywalking): handle conflict between global rule and route ( #4589 )
...
Fix #4571
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:56:13 +08:00
罗泽轩
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