#2207 Fixed regression in HTTP parser.

This commit is contained in:
XMRig 2021-04-10 21:02:59 +07:00
parent 3c6077fb02
commit 30cfcc27db
No known key found for this signature in database
GPG key ID: 446A53638BE94409
5 changed files with 7 additions and 14 deletions

View file

@ -74,7 +74,7 @@ bool xmrig::HttpsContext::write(BIO *bio)
void xmrig::HttpsContext::parse(char *data, size_t size)
{
if (HttpContext::parse(data, size) < size) {
if (!HttpContext::parse(data, size)) {
close();
}
}