|
@@ -162,7 +162,7 @@ public class HttpClientUtil {
|
|
response = httpclient.execute(get);
|
|
response = httpclient.execute(get);
|
|
InputStream in = response.getEntity().getContent();
|
|
InputStream in = response.getEntity().getContent();
|
|
|
|
|
|
- byte[] byteArray = IOUtil.toLimitedByteArray(in, 1048576);
|
|
|
|
|
|
+ byte[] byteArray = IOUtil.toLimitedByteArray(in, maxByteSize);
|
|
return byteArray;
|
|
return byteArray;
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|