mirror of
https://github.com/apache/struts.git
synced 2026-08-11 09:36:57 +00:00
WW-4519 Adds additional log statement when sending stream
This commit is contained in:
@@ -278,6 +278,7 @@ public class StreamResult extends StrutsResultSupport {
|
||||
byte[] oBuff = new byte[bufferSize];
|
||||
int iSize;
|
||||
while (-1 != (iSize = inputStream.read(oBuff))) {
|
||||
LOG.debug("Sending stream ... {}", iSize);
|
||||
oOutput.write(oBuff, 0, iSize);
|
||||
}
|
||||
LOG.debug("Streaming to output buffer +++ END +++");
|
||||
|
||||
Reference in New Issue
Block a user