added lua-resty-limit-traffic.

This commit is contained in:
Yichun Zhang (agentzh)
2016-11-04 15:00:22 -07:00
parent 6cb4ae0de3
commit 8ffd932b20
3 changed files with 18 additions and 2 deletions

6
util/configure vendored
View File

@ -203,6 +203,9 @@ for my $opt (@ARGV) {
} elsif ($opt eq '--without-lua_resty_string') {
$resty_opts{no_lua_resty_string} = 1;
} elsif ($opt eq '--without-lua_resty_limit_traffic') {
$resty_opts{no_lua_resty_limit_traffic} = 1;
} elsif ($opt eq '--without-lua_resty_websocket') {
$resty_opts{no_lua_resty_websocket} = 1;
@ -936,7 +939,7 @@ _EOC_
}
for my $key (qw(dns memcached redis mysql string upload websocket
lock lrucache core upstream_healthcheck))
lock lrucache core upstream_healthcheck limit_traffic))
{
unless ($opts->{"no_lua_resty_$key"}) {
(my $key2 = $key) =~ s/_/-/g;
@ -1084,6 +1087,7 @@ _EOC_
disable the lua-resty-upstream-healthcheck library
--without-lua_resty_string disable the lua-resty-string library
--without-lua_resty_websocket disable the lua-resty-websocket library
--without-lua_resty_limit_traffic disable the lua-resty-limit-traffic library
--without-lua_resty_lock disable the lua-resty-lock library
--without-lua_resty_lrucache disable the lua-resty-lrucache library
--without-lua_resty_core disable the lua-resty-core library