Commit Graph

108 Commits

Author SHA1 Message Date
zhixiongdu
3300db04f3 feat: improve kubernetes discovery (#6663) 2022-03-21 08:47:19 +08:00
罗泽轩
fede22edb5
feat(Wasm): get response body (#6514) 2022-03-07 10:13:05 +08:00
罗泽轩
0aeba95826
feat(proxy-mirror): support custom path (#6506) 2022-03-06 18:59:39 +08:00
罗泽轩
54ffdeed11
test: switch back to openresty/test-nginx (#6478) 2022-03-03 09:58:15 +08:00
罗泽轩
e4658fc236
feat(wasm): support getting request body (#6325)
Co-authored-by: leslie <59061168+leslie-tsang@users.noreply.github.com>
2022-02-18 10:42:02 +08:00
罗泽轩
eb0bf87b38
feat(L4): support TLS over TCP upstream (#6030) 2022-01-11 10:29:56 +08:00
罗泽轩
e8229f51c6
test: doc & simpify stream part of the test framework (#6041) 2022-01-09 19:18:54 +08:00
罗泽轩
045fa33266
test: add missing shdict (#6022) 2022-01-06 08:55:16 +08:00
罗泽轩
fea01a78b1
feat: allow setting proxy_request_buffering without disabling proxy-mirror (#5943) 2022-01-02 17:49:31 +08:00
Bisakh
8bb5adcb66
test: introducing ---exec & --- stdin section to run cmd (#5460) 2021-11-10 09:21:57 +08:00
罗泽轩
9fc67b1c39
test: the http2 is missing which causes weird result (#5382) 2021-11-01 15:36:03 +08:00
罗泽轩
fa8a34f72d
feat: initial wasm support (#5288) 2021-10-22 16:29:12 +08:00
tzssangglass
4395d708e9
feat(ext-plugin): avoid sending conf request more times (#5183) 2021-10-18 09:04:19 +08:00
agile6v
ca5ea1ffa4
fix(proxy-cache): keep cache_method same with nginx's proxy_cache_methods (#4814) 2021-08-15 21:30:56 +08: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
罗泽轩
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
罗泽轩
a461c9856d
fix(stream): sni router is broken when session reuses (#4607) 2021-07-22 11:08:10 +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
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
罗泽轩
38785557be
chore: dismiss warning "load balancing method redefined" (#4520)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-05 09:16:43 +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
罗泽轩
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
罗泽轩
85dfcb7902
fix(stream): skip route configuration tombstone (#4398)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-09 13:16:14 -04:00
罗泽轩
5d58dacaa8
feat: avoid overriding customized X-Forwarded-Proto header (#4260)
Close #4252

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-17 21:23:56 +08:00
罗泽轩
5a1fa2784e
fix: avoid 'using uninitialized "from_error_page" variable' (#4253)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-14 18:24:08 -04:00
Peter Zhu
adc9977dd0
feat: add 50x html for error page (#4164) 2021-05-11 16:52:48 +08: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
罗泽轩
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
罗泽轩
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
罗泽轩
e295ebb9e8
feat: support upstream mTLS (#4005) 2021-04-10 18:55:20 +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
罗泽轩
5b2be581d8
test: add cases for wss (#3961)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-05 11:41:25 +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
罗泽轩
86e168e711
test: enable master-worker mode by default (#3927) 2021-03-29 23:38:07 +08:00
罗泽轩
c9df9fca65
chore: remove unused shared dict (#3918)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-27 11:39:32 +08:00
罗泽轩
92b352862a
feat: support mTLS with etcd (#3905) 2021-03-25 23:40:40 +08:00
罗泽轩
e957bc3daa
fix: correct the luasocket patch (#3819) 2021-03-14 18:06:04 +08:00
罗泽轩
83537ad158
feat: load etcd configuration when apisix starts (#3799)
Fix #3370
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-12 09:09:19 +08:00
罗泽轩
d538105b1a
fix: don't override cache relative headers (#3789) 2021-03-10 09:02:28 +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
罗泽轩
18909a2a0b
feat: allow disabling search option in resolv.conf (#3609)
Also disable it in the test to avoid occassional DNS query timeout.
2021-02-20 15:38:45 +08:00
罗泽轩
e1dbe2c4a4
feat: support DNS AAAA record (#3484) 2021-02-05 09:00:20 +08:00
罗泽轩
b32cec71aa
test: use the same buffer size across different platforms (#3436)
The buffer size in x86 is 8k while the one in arm64 is 16k.

Fix #3355
2021-01-27 22:38:09 +08:00
Jens Keiner
b5374bb66c
feat(authz-keycloak): dynamic scope and resource mapping. (#3308) 2021-01-27 21:50:18 +08:00
halfcrazy
8d61d315b8
fix: proxy_set_header Host $host may lose port info (#2079) 2021-01-27 13:16:07 +08:00