You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2016/01/07 13:26:40 UTC

cxf git commit: [CXF-6720] AbstractHTTPDestination#WrappedOutputStream.close() calls flush after close

Repository: cxf
Updated Branches:
  refs/heads/master 80018b74a -> e35cfb946


[CXF-6720] AbstractHTTPDestination#WrappedOutputStream.close() calls flush after close


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

Branch: refs/heads/master
Commit: e35cfb9469e7de7355ef412e6c97597d6aa7cff5
Parents: 80018b7
Author: Akitoshi Yoshida <ay...@apache.org>
Authored: Thu Jan 7 21:26:22 2016 +0900
Committer: Akitoshi Yoshida <ay...@apache.org>
Committed: Thu Jan 7 21:26:22 2016 +0900

----------------------------------------------------------------------
 .../org/apache/cxf/transport/http/AbstractHTTPDestination.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e35cfb94/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
index 0861e6e..d79e75b 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
@@ -802,8 +802,8 @@ public abstract class AbstractHTTPDestination
                 }
             }
             if (wrappedStream != null) {
+                // closing the stream should indirectly call the servlet response's flushBuffer
                 wrappedStream.close();
-                response.flushBuffer();
             }
             /*
             try {