Closed dbsdsun closed 8 years ago
in the example, I found
sub vcl_init { new country = geoip2.geoip2("GeoLite2-Country.mmdb"); }
I think, the geoip file should be closed in vcl_fini. Could you please show how to close it? thanks
The file is closed automatically when the reference disappears, e.g. a new VCL is loaded. You don't need to do anything.
in the example, I found
I think, the geoip file should be closed in vcl_fini. Could you please show how to close it? thanks