Fix incorrect assert in Http2MultiplexCodec caused by 9f9aa1a
.
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
0cc13cb0d4
commit
1881b8c781
@ -805,7 +805,7 @@ public class Http2MultiplexCodec extends Http2FrameCodec {
|
||||
|
||||
void fireChildReadComplete() {
|
||||
assert eventLoop().inEventLoop();
|
||||
assert readStatus == ReadStatus.IN_PROGRESS;
|
||||
assert readStatus != ReadStatus.IDLE;
|
||||
unsafe.notifyReadComplete(unsafe.recvBufAllocHandle());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user