Skip to content

Commit de5a03c

Browse files
committed
set ip data to 20m
1 parent 91005f6 commit de5a03c

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)