1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 13:42:54 -05:00

#2207 Fixed regression in HTTP parser.

This commit is contained in:
XMRig
2021-04-10 21:02:59 +07:00
parent 3c6077fb02
commit 30cfcc27db
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();
}
}