Repository: struts
Updated Branches:
  refs/heads/master 4672c9ebb -> 2ef7cd122


WW-4519 Adds additional log statement when sending stream


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/2ef7cd12
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/2ef7cd12
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/2ef7cd12

Branch: refs/heads/master
Commit: 2ef7cd122396bf1673c068626a8b05ba485fbf4e
Parents: 4672c9e
Author: Lukasz Lenart <[email protected]>
Authored: Sun Jun 28 16:16:52 2015 +0200
Committer: Lukasz Lenart <[email protected]>
Committed: Sun Jun 28 16:16:52 2015 +0200

----------------------------------------------------------------------
 core/src/main/java/org/apache/struts2/result/StreamResult.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/2ef7cd12/core/src/main/java/org/apache/struts2/result/StreamResult.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/result/StreamResult.java 
b/core/src/main/java/org/apache/struts2/result/StreamResult.java
index 5574cc1..8438fbc 100644
--- a/core/src/main/java/org/apache/struts2/result/StreamResult.java
+++ b/core/src/main/java/org/apache/struts2/result/StreamResult.java
@@ -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 +++");

Reply via email to