Skip to content

Commit bd44c8d

Browse files
authored
Merge pull request #3 from rwifeng/master
set ip data to 20m
2 parents 91005f6 + de5a03c commit bd44c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/qiniu/ip17mon/Locator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static Locator loadFromNet(String netPath) throws IOException {
109109
}
110110

111111
int length = httpConn.getContentLength();
112-
if (length <= 0 || length > 10 * 1024 * 1024) {
112+
if (length <= 0 || length > 20 * 1024 * 1024) {
113113
throw new InputMismatchException("invalid ip data");
114114
}
115115
InputStream is = httpConn.getInputStream();

0 commit comments

Comments
 (0)