From 31f9a32749477f6bc9d28d7e5d3be9db60807e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9C=B0=E5=B9=B3=E7=BA=BF?= <22250530@qq.com> Date: Mon, 2 Nov 2015 11:13:50 +0800 Subject: [PATCH] --- src/com/wentch/redkale/net/AsyncConnection.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/com/wentch/redkale/net/AsyncConnection.java b/src/com/wentch/redkale/net/AsyncConnection.java index ca34ebd7f..25782d1a8 100644 --- a/src/com/wentch/redkale/net/AsyncConnection.java +++ b/src/com/wentch/redkale/net/AsyncConnection.java @@ -221,13 +221,6 @@ public abstract class AsyncConnection implements AsynchronousByteChannel, AutoCl public BIOUDPAsyncConnection(final DatagramChannel ch, SocketAddress addr, final boolean client0, final int readTimeoutSecond0, final int writeTimeoutSecond0) { this.channel = ch; - if (client0) { - try { - this.channel.configureBlocking(true); - } catch (IOException e) { - e.printStackTrace(); - } - } this.client = client0; this.readTimeoutSecond = readTimeoutSecond0; this.writeTimeoutSecond = writeTimeoutSecond0;