varnishcache-friends / libvmod-geoip2

Varnish VMOD to query MaxMind GeoIP2 DB files
BSD 2-Clause "Simplified" License
39 stars 17 forks source link

Support calling lookup() from vcl_init {} #15

Closed nigoroll closed 7 years ago

nigoroll commented 7 years ago

previously, we would panic because there is no ctx->vsl in vcl_init

nigoroll commented 7 years ago

similar thing to #14 - this is master only

fgsch commented 7 years ago

Merged manually and slightly tweaked in d74b75e6073d313c8caf7bc6f092eca072bef15d. Thanks!