Do not read if a channel is inactive

This commit is contained in:
Trustin Lee 2013-01-09 21:28:31 +09:00
parent 46e364e7b7
commit 137f29ba65

View File

@ -768,6 +768,10 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
@Override
public void beginRead() {
if (!isActive()) {
return;
}
if (eventLoop().inEventLoop()) {
try {
doBeginRead();