Commit Graph

1285 Commits

Author SHA1 Message Date
YuanSheng Wang
fbc3c6818d
feature: allow to set retries=0 for upstream object. (#1919) 2020-07-29 19:21:50 +08:00
nic-chen
333962a54b
bugfix: run apisix start several times will start multi APISIX servers (#1913) 2020-07-29 18:43:41 +08:00
Janko
552d7008da
change: check input params schema of request-validation plugin. (#1920)
FIX #1881
2020-07-29 10:27:59 +08:00
Janko
520ef311e3
feature: health check supports custom host port. (#1914) 2020-07-28 23:51:42 +08:00
YuanSheng Wang
4015071e30
change: the timeout of healthcheck should be number type. (#1892) 2020-07-27 16:19:01 +08:00
YuanSheng Wang
2d667ecb70
bugfix: should not save the runtime data of plugin into etcd. (#1910)
Fixed #1836 .
2020-07-27 14:43:50 +08:00
Janko
a108d2eee1
bugfix: failed to get host in health check configuration. (#1871)
The `host` of health check should be sub-item of `check.active` .

FIX #1869
2020-07-27 13:47:14 +08:00
Sarasa Kisaragi
45f84a2510
doc: fixed image links in zh-cn benchmark (#1896) 2020-07-24 16:30:51 +08:00
Yousa
d079b3dbcc
'worker_shutdown_timeout 240s' in nginx.conf is better. (#1883) 2020-07-24 16:05:29 +08:00
Sarasa Kisaragi
ffa0e1ef6c
doc: Fix link syntax in README.md (#1894) 2020-07-24 15:24:13 +08:00
yongboy
8fbd0ac305
doc: added CODE_STYLE.md and CODE_STYLE_CN.md for APISIX (#1874) 2020-07-22 16:52:49 +08:00
Nirojan Selvanathan
a6179996d4
feature: new plugin request-validator (#1709) 2020-07-21 21:38:48 +08:00
nic-chen
a5fc25c2a9
feat: Support admin API authentication with SSL certificates (#1747) 2020-07-21 11:41:11 +08:00
nic-chen
c1ee898a1a
release: released 1.4.1 version (#1872) 2020-07-20 18:13:31 +08:00
YuanSheng Wang
47b0ef372e
bugfix: fetch wrong the upstream node when there were multiple upstream node with host (#1835)
Fix #1834
2020-07-17 21:51:51 +08:00
YuanSheng Wang
cff822b7ae
* CI: Github action run non-OSX test case, Travis-CI runs the OSX test case(allow failure). (#1860)
* test: reformat by `reindex`.
* CI: dry-run the OSX CI in Github Action.
2020-07-17 15:27:08 +08:00
Scaat Feng
5c57796f8f
doc: update README.md for proxy-mirror (#1852) 2020-07-16 23:24:49 +08:00
RocFang
ff041442f3
doc: fixed some hyper link errors (#1849) 2020-07-16 17:33:31 +08:00
mtx2d
24d7007e94
change: removed useless plugin heartbeat (#1845)
Fix #1176
2020-07-16 17:31:39 +08:00
Wen Ming
9a6a86ce4f
doc: add more info for pr template. (#1840) 2020-07-15 17:32:39 +08:00
Wen Ming
9ae9d12e40
doc: add questions when submit PR. (#1839) 2020-07-14 11:06:24 +08:00
wonglend
db76475bd9
CI: add more patchs about Tengine(2.3.2 < version < 2.3.3). (#1830)
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Delete unused variable`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `POST request with keepalive peer cause 400 response`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Memory content leak in nginx "rewrite" implementation`
* bugfix: remove misc `--add-dynamic-module` for tengine since we do not set `load_module` in nginx.conf
* feature: fetch and apply upstream alibaba/tengine patches for .travis/linux_tengine_runner.sh.
2020-07-13 21:56:11 +08:00
罗泽轩
bfa24d41ba
feature: allow to congfiure the worker_shutdown_timeout (#1828)
The default 3s may be too low.
2020-07-10 21:59:44 +08:00
houshunwei
87e0131a59
doc: add etcd comment for k8s readme. add service-monitor yaml for prometh… (#1808) 2020-07-10 21:51:26 +08:00
wrl96
54abe58315
bugfix: failed to set server peer when upstreams.node is address in apisix.yaml (#1824)
Fix #1798
2020-07-10 18:47:11 +08:00
nic-chen
e598e6fa6a
bugfix: wrong counter was used, resulting in only one certificate working fine. (#1818)
Fix #1817
2020-07-10 18:39:08 +08:00
Wen Ming
a4e31b2f3d
optimize: increase ssl_session_cache size to 20m. (#1797) 2020-07-10 11:31:32 +08:00
wrl96
c41ababd41
bugfix(proxy-rewrite): symbol would be encoded to 0x3f (#1816) 2020-07-09 18:06:00 +08:00
Raisinata
0e517a25d6
feature: using GitHub action for CI (#1793) 2020-07-09 12:15:17 +08:00
YuanSheng Wang
a4c3c0f980
doc: update the text of DP and CP. (#1814) 2020-07-09 08:55:07 +08:00
yongboy
6fec021ab0
doc: fixed zh-cn/architecture-design.md images path error (#1813) 2020-07-08 18:23:22 +08:00
wonglend
588d46ff18
fix: replace location /robots.txt with location =/robots.txt for admin page. (#1807) 2020-07-07 10:36:32 +08:00
Wen Ming
5a38df1ffe
doc: add more steps for install. (#1805) 2020-07-07 10:35:02 +08:00
YuanYingdong
8494506767
doc: fixed some punctuation error in the document sample shell (#1803) 2020-07-06 09:54:23 +08:00
Joey
57289aeac1
doc: add guides for installing dependencies on fedora (#1800) 2020-07-04 07:48:10 +08:00
xxm404
794b1eb65e
bugfix: return 404 Not Found when the dashboard folder is empty. (#1799)
close #1794
2020-07-03 21:18:05 +08:00
jackstraw
e6e387a1c5
bugfix: missing argument premature because it was called by ngx.timer . (#1796) 2020-07-03 07:10:36 +08:00
YuanSheng Wang
2ccf020027
test: format by tool reindex. (#1775) 2020-07-02 22:04:24 +08:00
ko han
aeab71df80
change: 'get_plugin_list' API sorts the return list base on priority (#1779) 2020-07-01 17:05:02 +08:00
Wen Ming
0bcd397a90
rocks: fixed wrong source of 1.4. (#1783) 2020-07-01 17:04:10 +08:00
morrme
a9d60f97c5
change: remove authentication type for cors plugin (#1788)
fix #1787
2020-07-01 13:52:47 +08:00
jackstraw
3061aeefa3
bugfix(config etcd): when we reset the fetched data, sync_times also needs to be reset. (#1785) 2020-07-01 09:28:00 +08:00
Nirojan Selvanathan
d787cbd55e
release: released 1.4-0 version (#1742) 2020-06-30 13:34:00 +08:00
YuanSheng Wang
0d58ba7710
doc: remove router r3 . (#1764) 2020-06-30 13:33:35 +08:00
Scaat Feng
3fc7e7d502
doc: update Chinese README.md (#1763) 2020-06-28 20:07:33 +08:00
YuanSheng Wang
ee7533874d
optimize: Use lru to avoid resolving IP addresses repeatedly . (#1772)
* optimize: Use lru to avoid resolving IP addresses repeatedly .
Cached the global rules to `ctx` .

* optimzie: used a longer time interval for etcd and flush access log.

* optimize: return upstream node directly if the count is 1 .

* optimize: avoid to cache useless variable.
2020-06-28 18:14:38 +08:00
YuanSheng Wang
0ce0ed5fed
plugin(heartbeat): use info log level when failed to report heartbeat. (#1771) 2020-06-28 16:48:27 +08:00
Shenal Silva
ef89dceda6
feature: support etcd auth (#1769)
Fix #1713 , #1770
2020-06-26 17:25:58 +08:00
Shenal Silva
492fa71cbc
bugfix: added content-type for admin API responses (#1746) 2020-06-24 13:57:10 +08:00
YuanSheng Wang
d419fb2289
test: added test cases. (#1752) 2020-06-24 09:59:11 +08:00