Commit Graph

7 Commits

Author SHA1 Message Date
YuanSheng Wang
2647bdddcb
test: removed useless option. (#132) 2019-06-19 15:48:16 +08:00
WenMing
a76f690abb
test: added test cases for limit conn and limit count. (#131) 2019-06-19 13:06:03 +08:00
YuanSheng Wang
43cbd138e7
change: merged the similar code, and not allowed to specify id when use POST method. (#128)
* change: merged the similar code, and not allowed to specify id when use
  POST method.
2019-06-18 16:15:55 +08:00
WenMing
e1d0bb08ce
bugfix: got route id from url if not found in post body. (#120) 2019-06-17 18:00:56 +08:00
YuanSheng Wang
a4634da49e
feature: used json schema to check the configuration of limit-count plugin. (#116)
* feature: used json schema to check the configuration of
	`limit-count` plugin.
* travis: if there was any errors, exist directly.
2019-06-17 15:05:19 +08:00
WenMing
ba576985b1
bugfix: added the plugin load. (#95)
* bugfix: added the plugin load.

* test: added test cases for limit count.

* test: added Lua sleep at the end of init_worker.

left enough time for read data from etcd, otherwise worker maybe deal with request before get data from etcd.

* test: added no_shuffle();
2019-06-14 16:11:14 +08:00
WenMing
1602268833
bugfix: only accept client IP as key now. (#85) 2019-06-13 19:11:15 +08:00