mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-25 10:58:20 -10:00
When sending request data from something other than a byte[], CurlHandler allocates a buffer to transfer data from the request to libcurl, typically 16K (unless the request content is known to be smaller than that). We can use a buffer from ArrayPool for that. Commit migrated from https://github.com/dotnet/corefx/commit/6e4d5a1dbac460af9df29e2f3c839c42c503d8ff