fix(net/validators): ensure buffers are cleared and reset;

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2024-07-17 23:05:45 -07:00
parent 12db1efd20
commit cb65f6dfb5
2 changed files with 15 additions and 3 deletions

View File

@ -60,7 +60,11 @@ class ChecksumValidator : public Validator {
return true;
}
auto abort() -> bool override { return true; }
auto abort() -> bool override
{
m_checksum.reset();
return true;
}
auto validate(QNetworkReply&) -> bool override
{