We need to set the exception on each MessageEvent. See #293
This commit is contained in:
parent
2a70df1c1c
commit
b2e77beb46
@ -892,7 +892,7 @@ abstract class AbstractNioWorker implements Worker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void cleanUpWriteBuffer(AbstractNioChannel channel) {
|
protected void cleanUpWriteBuffer(AbstractNioChannel channel) {
|
||||||
Exception cause = null;
|
Exception cause = null;
|
||||||
boolean fireExceptionCaught = false;
|
boolean fireExceptionCaught = false;
|
||||||
@ -932,9 +932,10 @@ abstract class AbstractNioWorker implements Worker {
|
|||||||
} else {
|
} else {
|
||||||
cause = new ClosedChannelException();
|
cause = new ClosedChannelException();
|
||||||
}
|
}
|
||||||
evt.getFuture().setFailure(cause);
|
|
||||||
fireExceptionCaught = true;
|
fireExceptionCaught = true;
|
||||||
}
|
}
|
||||||
|
evt.getFuture().setFailure(cause);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user