ProtocolCodec.readRegister优化

This commit is contained in:
redkale
2024-10-05 22:22:40 +08:00
parent 7bab2742a5
commit 4eb34ba7d9

View File

@@ -114,7 +114,8 @@ class ProtocolCodec implements CompletionHandler<Integer, ByteBuffer> {
return;
}
try {
//channel.readRegisterInIOThread(this);
// channel.readRegisterInIOThread(this);
// 服务端接收到一个SocketConnection后调用因此不存在并发readRegister
channel.readRegister(this);
} catch (Exception te) {
channel.dispose(); // response.init(channel); 在调用之前异常