]> git.kaiwu.me - nginx.git/commit
Merge of r4993, r4994, r4997, r5000: geo ipv6 support.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 11 Feb 2013 12:31:43 +0000 (12:31 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 11 Feb 2013 12:31:43 +0000 (12:31 +0000)
commit5667debba4bb1edd33108d13f6463a0659e84e31
tree3c4b03f591602ad9b7246352cf1b59abe49b891c
parent20951d0eae32084b35ded4013b10ee80b1882c63
Merge of r4993, r4994, r4997, r5000: geo ipv6 support.

*) Geo: IPv6 support.  The "ranges" mode is still limited to IPv4 only.

*) Geo: properly initialize ngx_cidr_t when dealing with "default".

*) Geo: made "default" affect both IPv4 and IPv6 when using prefixes.
   Previously, "default" was equivalent to specifying 0.0.0.0/0, now
   it's equivalent to specifying both 0.0.0.0/0 and ::/0 (if support
   for IPv6 is enabled) with the same value.

*) Geo: improved code readability.
src/core/ngx_radix_tree.c
src/core/ngx_radix_tree.h
src/http/modules/ngx_http_geo_module.c