Correct set blocking mode on server channel
This commit is contained in:
parent
8eb3a30bd4
commit
f135804b9b
@ -340,7 +340,10 @@ public class SctpWorker extends NioWorker {
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
if (server) {
|
||||
channel.getJdkChannel().configureBlocking(false);
|
||||
}
|
||||
|
||||
boolean registered = channel.getJdkChannel().isRegistered();
|
||||
if (!registered) {
|
||||
synchronized (channel.getInterestedOpsLock()) {
|
||||
|
Loading…
Reference in New Issue
Block a user