Commit Graph

17 Commits

Author SHA1 Message Date
YuanSheng Wang
de16a7e04f
bugfix: updated the dns parse result by TTL. (#1077) 2020-02-19 20:30:34 +08:00
YuanSheng Wang
7bcf15d45b
core: support to set response headers by table. (#1129) 2020-02-18 15:19:12 +08:00
YuanSheng Wang
c881c04368
bugfix: allow write debug log even if the openresty disabled debug model (#1124)
fix https://github.com/apache/incubator-apisix/pull/1121#discussion_r378760095
2020-02-16 11:44:01 +08:00
YuanSheng Wang
01dc41c8a6
bugfix: fetch the current log level when needs. (#885)
* bugfix: fetch the current log level when needs.
2019-11-23 20:40:47 +08:00
罗泽轩
5e85e93eac change: don't strip square brackets from the IPv6 (#822)
* change: don't strip square brackets from the IPv6

The OpenResty APIs require the IPv6 literal wrapped inside a square brackets.
Also add tests for IPv6 upstream and update lua-resty-ipmatcher to 0.3.

Fix #816.
2019-11-11 09:49:22 +08:00
罗泽轩
b7e280033b fix: core.utils.parse_addr didn't parse IPv6 address correctly (#809) 2019-11-06 14:27:08 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
Yuansheng
4bb40df857 change(test): name style. 2019-09-10 10:07:29 +08:00
YuanSheng Wang
ad98a2bfdb
feature: supported to set more upstream options. (#451)
* feature: supported to set more upstream options.
* feature: supported to enable websocket for upstream.
2019-08-30 10:15:58 +08:00
YuanSheng Wang
124a49f267
feature: supported to fetch cookie value from ctx.var which is a easy way. (#449)
* feature: supported to fetch cookie value from ctx.var which is a easy way.
2019-08-29 15:45:53 +08:00
YuanSheng Wang
926c3386e0
feature: add new option release, will release it automatically (#381)
* feature: add new option `release`, will release it automatically
  when cached item is useless.
2019-08-07 13:42:48 +08:00
Yuansheng
884c97b67a bugfix: allowed to serialise Lua table if it is excessive nesting. 2019-08-01 11:30:14 +08:00
WenMing
9fa04a923c
feature: supported real_ip configure in nginx.conf and added functions to get ip and remote ip. (#236)
* feature: supported real_ip configure in nginx.conf and added functions to get ip and remote ip.

* fixed code style.
2019-07-12 11:25:17 +08:00
YuanSheng Wang
ccd179a936
travis: used different compiler to run test. (#235)
* travis: specified language.
* test: added test cases for `core.table`.
2019-07-12 11:11:24 +08:00
Yuansheng
b88de3975a test: added more test case for local config. 2019-07-12 10:40:45 +08:00
YuanSheng Wang
61f5f3af2a
bugfix: supported to LRU table to cache the JSON schema validator. (#126) 2019-06-18 11:23:18 +08:00
Yuansheng
10a0fb03f7 test: moved the different test file to different folder. 2019-06-13 16:16:50 +08:00