mirror of https://github.com/apache/poi.git
add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898240 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac58e2f5f4
commit
fe79513114
|
@ -184,7 +184,7 @@ public class TSPTimeStampService implements TimeStampService {
|
|||
}
|
||||
|
||||
try (InputStream stream = huc.getInputStream()) {
|
||||
responseBytes = IOUtils.toByteArray(stream, MAX_TIMESTAMP_RESPONSE_SIZE);
|
||||
responseBytes = IOUtils.toByteArrayWithMaxLength(stream, getMaxTimestampResponseSize());
|
||||
}
|
||||
LOG.atDebug().log(() -> new SimpleMessage("response content: " + HexDump.dump(responseBytes, 0, 0)));
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue