Correct set blocking mode on server channel

This commit is contained in:
Norman Maurer 2012-03-30 22:16:18 +02:00
parent 8eb3a30bd4
commit f135804b9b

View File

@ -340,6 +340,9 @@ public class SctpWorker extends NioWorker {
} }
try { try {
if (server) {
channel.getJdkChannel().configureBlocking(false);
}
boolean registered = channel.getJdkChannel().isRegistered(); boolean registered = channel.getJdkChannel().isRegistered();
if (!registered) { if (!registered) {