Download

libcurl integration question -- why is transfer speed throttled down?

We’ve come across the issue when libcurl would download larger files (> 16kb) quite slowly.

It appears that when more than one block of data is available (default libcurl’s block size is 16kb), Unreal’s api retrieves only one block per tick, effectively throttling down the speed as curl’s buffers start filling up.

I followed libcurl examples and altered Unreal code to fetch as much data as possible, on each tick. Before making a pull request, I wonder if this change would have some undesirable effects – was this throttling put in place for a specific reason?