1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-06 23:52:38 -05:00

Fixed rare protocol error in HTTP client.

This commit is contained in:
XMRig
2020-08-07 21:54:22 +07:00
parent ae3ff0f570
commit 050568a4ab

View File

@@ -126,6 +126,10 @@ bool xmrig::HttpContext::isRequest() const
size_t xmrig::HttpContext::parse(const char *data, size_t size)
{
if (size == 0) {
return size;
}
return http_parser_execute(m_parser, &http_settings, data, size);
}