Do not read if a channel is inactive
This commit is contained in:
parent
46e364e7b7
commit
137f29ba65
@ -768,6 +768,10 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
|
||||
|
||||
@Override
|
||||
public void beginRead() {
|
||||
if (!isActive()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (eventLoop().inEventLoop()) {
|
||||
try {
|
||||
doBeginRead();
|
||||
|
Loading…
Reference in New Issue
Block a user