perf(ip-restriction) faster iputils checking
perf(ip-restriction) faster iputils checking

Using the binary representation of the address (e.g. via
ngx.var.binary_remote_addr) is a more efficient approach, as
we no longer need to rely on a small LRU cache to store binary-
parsed CIDR and IP objects. To achieve this, we rely on a read-through
module-level cache of parsed CIDR objects to call iputils.binip_in_cidrs
directly; parsed CIDRs objects by definition are consistent, so we
needn't worry about cache invalidation here.

akh00/kong,Kong/kong,shiprabehera/kong,jebenexer/kong,salazar/kong,Mashape/kong,Kong/kong,Kong/kong,icyxp/kong