Switching to an orchestrated teardown on READ_TIMEOUT
This commit is contained in:
parent
9421f37f96
commit
e58d0d9940
3 changed files with 4 additions and 6 deletions
|
|
@ -259,9 +259,8 @@ class ActiveRemoteClientHandler(
|
|||
}
|
||||
|
||||
e.getState match {
|
||||
case READER_IDLE ⇒ e.getChannel.close()
|
||||
case WRITER_IDLE ⇒ e.getChannel.write(createHeartBeat(localAddress, client.netty.settings.SecureCookie))
|
||||
case ALL_IDLE ⇒ e.getChannel.close()
|
||||
case READER_IDLE | ALL_IDLE ⇒ runOnceNow { client.netty.shutdownClientConnection(remoteAddress) }
|
||||
case WRITER_IDLE ⇒ e.getChannel.write(createHeartBeat(localAddress, client.netty.settings.SecureCookie))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue