Skip to content

Commit

Permalink
Merge pull request #5648 from SagePtr/patch-1
Browse files Browse the repository at this point in the history
Update geoipdatabase.cpp to allow larger GeoLite2-Country database (issue #5609)
  • Loading branch information
sledgehammer999 committed Aug 26, 2016
2 parents 5f01065 + c63da26 commit 89d9150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/net/private/geoipdatabase.cpp
Expand Up @@ -40,7 +40,7 @@ namespace
{
const quint32 __ENDIAN_TEST__ = 0x00000001;
const bool __IS_LITTLE_ENDIAN__ = (reinterpret_cast<const uchar *>(&__ENDIAN_TEST__)[0] == 0x01);
const int MAX_FILE_SIZE = 10485760; // 10MB
const quint32 MAX_FILE_SIZE = 67108864; // 64MB
const char DB_TYPE[] = "GeoLite2-Country";
const quint32 MAX_METADATA_SIZE = 131072; // 128KB
const char METADATA_BEGIN_MARK[] = "\xab\xcd\xefMaxMind.com";
Expand Down

0 comments on commit 89d9150

Please sign in to comment.