consume remaining MessageSize but never reset, we should reset remainin MessageSize after readEnd

Client: cpp
Patch: Irelian <240290942@qq.com>

This closes #2390
This commit is contained in:
Irelian 2021-05-11 16:04:33 +08:00 committed by Jens Geyer
parent bc18a92519
commit 33b7f48ba4

View File

@ -658,6 +658,7 @@ public:
if (rBase_ == wBase_) { if (rBase_ == wBase_) {
resetBuffer(); resetBuffer();
} }
resetConsumedMessageSize();
return bytes; return bytes;
} }