NativeHTTPRequest: Fix buffer management for neko

This commit is contained in:
Chris Speciale
2022-09-01 09:51:49 -04:00
committed by GitHub
parent 3b985979ac
commit 31918f61cf

View File

@@ -393,8 +393,9 @@ class NativeHTTPRequest
}
private function curl_onWrite(curl:CURL, output:Bytes):Int
{
buffer.add(output);
{
buffer.addBytes(output, 0, output.length)
return output.length;
}