diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-02-25 14:48:41 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-02-25 14:48:41 +0000 |
commit | 9c3867371018edf4cf332c35c113f0a7e35e5f78 (patch) | |
tree | 92d37a01588a7b4dbb6a1bb6b472f625db5564fa /lib/mga_geoip.php | |
parent | 67c36ffe4bd35b887c40e348e7d774d9e6a012ae (diff) | |
download | www-9c3867371018edf4cf332c35c113f0a7e35e5f78.tar www-9c3867371018edf4cf332c35c113f0a7e35e5f78.tar.gz www-9c3867371018edf4cf332c35c113f0a7e35e5f78.tar.bz2 www-9c3867371018edf4cf332c35c113f0a7e35e5f78.tar.xz www-9c3867371018edf4cf332c35c113f0a7e35e5f78.zip |
Improve downloads redirections for IPv6 clients
- IPv6 clients are not randomly redirected anymore (unless there
really is no best match mirror). Previous geoip lib did not
handle IPv6 addresses at all.
- visitors from a country with no matching mirror now fallback
on their continent potential matches first.
- get_country() method removed, replaced by code in
lib/mga_geoip.php
Diffstat (limited to 'lib/mga_geoip.php')
0 files changed, 0 insertions, 0 deletions