cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-7278] Correctly setting HttpResponseEncoder in the Netty server pipeline
Date Fri, 10 Mar 2017 14:06:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 48abef18e -> 85c93543e


[CXF-7278] Correctly setting HttpResponseEncoder in the Netty server pipeline


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

Branch: refs/heads/3.1.x-fixes
Commit: 85c93543ed812c7ed3218f8b348ec5af92af4d77
Parents: 48abef1
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Mar 10 14:05:36 2017 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Mar 10 14:06:23 2017 +0000

----------------------------------------------------------------------
 .../http/netty/server/NettyHttpServletPipelineFactory.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/85c93543/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
----------------------------------------------------------------------
diff --git a/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
b/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
index ba2f0cd..4357925 100644
--- a/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
+++ b/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServletPipelineFactory.java
@@ -142,9 +142,9 @@ public class NettyHttpServletPipelineFactory extends ChannelInitializer<Channel>
         }
 
         pipeline.addLast("decoder", new HttpRequestDecoder());
-        pipeline.addLast("aggregator", new HttpObjectAggregator(maxChunkContentSize));
         pipeline.addLast("encoder", new HttpResponseEncoder());
-
+        pipeline.addLast("aggregator", new HttpObjectAggregator(maxChunkContentSize));
+        
         // Remove the following line if you don't want automatic content
         // compression.
         pipeline.addLast("deflater", new HttpContentCompressor());


Mime
View raw message