You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2017/03/10 14:05:52 UTC
cxf git commit: [CXF-7278] Correctly setting HttpResponseEncoder in
the Netty server pipeline
Repository: cxf
Updated Branches:
refs/heads/master 1f1dac485 -> da68e9947
[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/da68e994
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/da68e994
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/da68e994
Branch: refs/heads/master
Commit: da68e9947a3925bb349c81f5ddc0476591ab7a36
Parents: 1f1dac4
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Fri Mar 10 14:05:36 2017 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Fri Mar 10 14:05:36 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/da68e994/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 77d9ca3..eec502a 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());