Correct set blocking mode on server channel
This commit is contained in:
parent
8eb3a30bd4
commit
f135804b9b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user