cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1514296 - /cxf/trunk/rt/transports/http-netty/netty-server/src/main/java/org/apache/cxf/transport/http/netty/server/NettyHttpServerEngine.java
Date Thu, 15 Aug 2013 14:31:12 GMT
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();



Mime
View raw message