Motivation:
9f9aa1a
did some changes related to fixing how we handle ctx.read() in child channel but did incorrectly change some assert.
Modifications:
Fix assert to be correct.
Result:
Code does not throw an AssertionError due incorrect assert check.
This commit is contained in:
parent
36c12a4c55
commit
bdcad8ef47
@ -805,7 +805,7 @@ public class Http2MultiplexCodec extends Http2FrameCodec {
|
|||||||
|
|
||||||
void fireChildReadComplete() {
|
void fireChildReadComplete() {
|
||||||
assert eventLoop().inEventLoop();
|
assert eventLoop().inEventLoop();
|
||||||
assert readStatus == ReadStatus.IN_PROGRESS;
|
assert readStatus != ReadStatus.IDLE;
|
||||||
unsafe.notifyReadComplete(unsafe.recvBufAllocHandle());
|
unsafe.notifyReadComplete(unsafe.recvBufAllocHandle());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user