cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: [CXF-6720] AbstractHTTPDestination#WrappedOutputStream.close() calls flush after close
Date Thu, 07 Jan 2016 12:27:44 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 1ad442008 -> a4c74ebbc


[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/a4c74ebb
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a4c74ebb
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a4c74ebb

Branch: refs/heads/3.0.x-fixes
Commit: a4c74ebbc24d3b646e5d725f06742ae8481f0f9a
Parents: 1ad4420
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:27:35 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/a4c74ebb/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 5b6dc0c..65e5ad5 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
@@ -795,8 +795,8 @@ public abstract class AbstractHTTPDestination
                 }
             }
             if (wrappedStream != null) {
+                // closing the stream should indirectly call the servlet response's flushBuffer
                 wrappedStream.close();
-                response.flushBuffer();
             }
             /*
             try {


Mime
View raw message