You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2013/08/15 16:31:12 UTC
svn commit: r1514296 -
/cxf/trunk/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServerEngine.java
Author: ningjiang
Date: Thu Aug 15 14:31:12 2013
New Revision: 1514296
URL: http://svn.apache.org/r1514296
Log:
CXF-5177 fixed the warning message of stopping NettyHttpServerEngine
Modified:
cxf/trunk/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServerEngine.java
Modified: cxf/trunk/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServerEngine.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServerEngine.java?rev=1514296&r1=1514295&r2=1514296&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServerEngine.java (original)
+++ cxf/trunk/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServerEngine.java Thu Aug 15 14:31:12 2013
@@ -213,13 +213,13 @@ public class NettyHttpServerEngine imple
servletPipeline.shutdown();
}
- /*if (serverChannel != null) {
+ if (serverChannel != null) {
try {
- serverChannel.close().sync();
+ serverChannel.closeFuture().sync();
} catch (InterruptedException exception) {
// do nothing here;
}
- }*/
+ }
bossGroup.shutdownGracefully();
workerGroup.shutdownGracefully();