Local transport doesn't need to support setInterestOps
This commit is contained in:
parent
6c57969348
commit
731c0d94f3
@ -81,7 +81,8 @@ final class LocalClientChannelSink extends AbstractChannelSink {
|
||||
}
|
||||
break;
|
||||
case INTEREST_OPS:
|
||||
// TODO: Implement traffic control.
|
||||
// Unsupported - discard silently.
|
||||
future.setSuccess();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,8 @@ final class LocalServerChannelSink extends AbstractChannelSink {
|
||||
}
|
||||
break;
|
||||
case INTEREST_OPS:
|
||||
// TODO: Implement traffic control
|
||||
// Unsupported - discard silently.
|
||||
future.setSuccess();
|
||||
break;
|
||||
}
|
||||
} else if (e instanceof MessageEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user