Commit graph

8 commits

Author SHA1 Message Date
Andrei Belov
9db8253eec
Fixed build of stream module 2018-10-11 19:22:52 +03:00
Andrei Belov
80659b1bee
Store string variables from libmaxmind in request pool
Using direct references may cause SIGSEGV on database reload
(when auto_reload parameter is enabled).
2018-10-11 16:59:37 +03:00
Andrei Belov
26399de025
Move MMDB auto-reloading to log phase
Previous approach could lead to SIGSEGV while logging requests
with log format containing variables produed by geoip2 module.
2018-10-10 13:00:25 +03:00
Andrei Belov
38cea8a516
Ensure that database structures are zero-initialized
This should fix #58.
2018-10-01 15:30:11 +03:00
Lee Valentine
39a8abfa60 Add support for auto reloading the database if it has changed 2018-07-02 21:47:02 +01:00
Lee Valentine
4674ba7c9c Add support for retrieving mmdb metadata, specifically build_epoch 2018-06-28 01:06:22 +01:00
qlee
6fac846f3d geoip2 directive support relative path as first argument 2018-05-02 18:32:31 +08:00
Andrei Belov
4a0ca82b79 Added stream support
nginx/1.11.2 or newer is required in order to get geoip2 support
within stream {} context.
2016-10-27 18:09:39 +03:00