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:16 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 58830d85e -> bdd6b1b1b


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

Branch: refs/heads/3.1.x-fixes
Commit: bdd6b1b1bbfc039c11c0ca7891cf520cce614226
Parents: 58830d8
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:03 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/bdd6b1b1/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 {


Mime
View raw message