罗泽轩
e748b71db1
test: make t/plugin/log-rotate.t stable ( #4218 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-12 11:14:13 +08:00
罗泽轩
dd5f93b70b
chore: avoid creating lrucache twice ( #4220 )
...
Also refactor part of the code.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-12 09:46:34 +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
罗泽轩
db5a5a9d21
feat(reponse-rewrite): allow using variable in the header ( #4194 )
...
* feat(reponse-rewrite): allow using variable in the header
Fix #3727
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-10 10:27:41 +08:00
罗泽轩
1e944bfde8
feat: validate ssl certificate and more in the DP ( #4202 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-09 15:54:24 -04:00
罗泽轩
19dbe3456f
fix: use original modifiedIndex if possible ( #4192 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-09 10:31:33 +08:00
ken zhou
3ebe8004b1
feat: redirect plugin support regex ( #4152 )
...
Co-authored-by: jianzhou <zhoujian1@huya.com>
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: Yuelin Zheng <2226815922@qq.com>
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
2021-05-07 15:55:38 -04:00
罗泽轩
232134ad6b
docs: avoid the misleading comment ( #4189 )
2021-05-07 08:55:17 +08:00
Alex Zhang
f7460eeee3
fix: init dns resolvers in stream subsystem ( #4186 )
2021-05-06 16:54:11 +08:00
Alex Zhang
3a3874a2cb
feat: support to use upstream_id in stream_route ( #4121 )
2021-05-06 10:30:46 +08:00
罗泽轩
ffed4383f1
feat(ext-plugin): implement the http-req-call protocol ( #4183 )
2021-05-06 10:07:56 +08:00
罗泽轩
50e9bfa54e
feat(ext-plugin): handle error response ( #4179 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-06 10:00:12 +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
罗泽轩
624f59fc78
feat: step 3, manage the plugin runner ( #4163 )
...
* feat: step 3, manage the plugin runner
* feat: step 4, add prepare_conf protocol
2021-05-04 10:41:08 +08:00
Joey
775c2e369d
fix(response-rewrite): properly base64 process the nil and empty body ( #4151 )
...
Co-authored-by: Alex Zhang <tokers@apache.org>
2021-04-29 21:08:12 +08:00
罗泽轩
f3b057609f
feat(ext-plugin): step 2, add basic structure ( #4119 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-29 11:07:05 +08:00
tzssangglass
ac21146c35
fix: deal with etcd grants permissions with a different prefix than the one used by apisix, etcd will forbidden ( #4154 )
2021-04-29 09:27:54 +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
罗泽轩
725e9879cd
fix: remove unexpected blocking in background timer ( #4106 )
2021-04-23 11:12:46 +08:00
_chg_
b83ad3c39c
feat: jwt-auth support extension payload ( #4099 )
2021-04-23 09:13:50 +08:00
罗泽轩
544ab52a40
feat: support client certificate verification ( #4034 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-22 22:00:02 +08:00
Yuelin Zheng
93a9feb9b5
feat: support to fetch balancer ip/port from ctx.var ( #4109 )
2021-04-22 21:52:49 +08:00
Yuelin Zheng
94565689f7
fix(traffic-split): configure multiple "rules", the request will be confused between upstream ( #4092 )
2021-04-22 08:58:23 +08:00
_chg_
8757080697
feat: add nacos support ( #3820 )
...
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-04-21 17:48:56 +08:00
罗泽轩
12c9e6f267
feat: upstream grpcs support mTLS ( #4070 )
2021-04-20 18:08:13 +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
罗泽轩
5259b8c796
fix: be compatible with the router created before 2.5 ( #4056 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-15 16:24:17 +08:00
yejingx
7029bb9cc6
plugin(kafka-logger): send logs in async mode by default ( #4035 )
2021-04-14 16:14:54 +08:00
Shuyang Wu
8d860ec675
fix: when route name is not set, it would be given the service name ( #4020 )
2021-04-13 16:05:14 +08:00
罗泽轩
022d7527c2
feat: new way to cache ctx.var ( #3915 )
2021-04-11 13:43:25 +08:00
罗泽轩
e295ebb9e8
feat: support upstream mTLS ( #4005 )
2021-04-10 18:55:20 +08:00
罗泽轩
bb7d8a8f53
test: rewrite flaky consul_kv case ( #3972 )
2021-04-10 18:53:41 +08:00
罗泽轩
e9fedee192
fix(prometheus): collect nginx_status and return the body ( #4014 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
2021-04-10 12:20:24 +08:00
罗泽轩
d6f3f7ae02
test: show how to fetch special cookie which is not supported by Nginx ( #4011 )
...
Fix #4009
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-09 21:43:27 +08:00
罗泽轩
89d8697743
feat(key-auth): allow customizing header ( #4013 )
2021-04-09 18:08:21 +08:00
Shuyang Wu
52a91bb846
feat: use route/service name instead of id in prometheus metric ( #4004 )
2021-04-09 16:02:11 +08:00
罗泽轩
005a790a5e
feat(serverless): pass conf & ctx to the functions ( #3971 )
2021-04-08 18:29:32 +08:00
Shuyang Wu
b273ae7002
change(prometheus): redesign the latency metrics & update grafana ( #3993 )
...
Co-authored-by: nic-chen <johz@163.com>
2021-04-07 15:38:49 +08:00
罗泽轩
6a986f4649
change(prometheus): don't expose metrics to internet ( #3994 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-07 14:40:28 +08:00
han6565
4156a73b9b
change(limit-count): ensure redis cluster name is set correctly ( #3910 )
...
fix the problem of multiple different redis-cluster data sources, stress test prompting ' ttl: ERR invalid password'
Co-authored-by: hanjinqi <hanjinqi@xdf.cn>
Co-authored-by: Yuelin Zheng <2226815922@qq.com>
2021-04-07 09:20:00 +08:00
罗泽轩
16c8648aa0
refactor: ssl schema ( #3969 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-07 09:02:22 +08:00
罗泽轩
92b9bde8ee
fix: PATCH ssl should encrypt key ( #3986 )
2021-04-07 01:10:18 +08:00
罗泽轩
5b2be581d8
test: add cases for wss ( #3961 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-05 11:41:25 +08:00
nic-chen
9a68bd3862
feat: add management fields for stream_route and proto in schema ( #3966 )
2021-04-02 09:01:31 +08:00
Yuelin Zheng
708d266512
fix(traffic-split): upstream.type support chash configuration ( #3955 )
2021-04-01 20:57:10 +08:00
罗泽轩
2e29d78011
change: drop support of OpenResty 1.15 ( #3960 )
2021-04-01 20:45: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
John Bampton
faf4715c82
chore: fix spelling ( #3958 )
2021-04-01 09:30:27 +08:00