From f154c480e0ae328404ab73b2fff9e0424bc89069 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Fri, 30 Mar 2012 21:15:43 +0200 Subject: [PATCH] :Correctly handle interestedOps changes --- .../src/main/java/io/netty/channel/socket/nio/NioWorker.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transport/src/main/java/io/netty/channel/socket/nio/NioWorker.java b/transport/src/main/java/io/netty/channel/socket/nio/NioWorker.java index 558399748f..9e2b29c22c 100644 --- a/transport/src/main/java/io/netty/channel/socket/nio/NioWorker.java +++ b/transport/src/main/java/io/netty/channel/socket/nio/NioWorker.java @@ -131,6 +131,8 @@ public class NioWorker extends AbstractNioWorker { selector, channel.getRawInterestOps(), channel); } + } else { + setInterestOps(channel, succeededFuture(channel), channel.getRawInterestOps()); } if (future != null) {