git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898240 13f79535-47bb-0310-9956-ffa450edef68tags/REL_5_2_1
@@ -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 { |