-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace zsync2's HTTP backend #30
Comments
libaria2 is more of a wrapper providing the same feature set as the We must find another library. |
Checking out https://www.boost.org/doc/libs/develop/libs/beast/example/http/client/sync/http_client_sync.cpp right now. It's quite low-level, which might allow for implementing a workflow that suits our needs best. |
Newer http libraries hopefully also support files bigger than 2GiB/4GiB. See: #31 |
I wouldn't consider libcurl "old" ;-) |
@probonopd libcurl is not the problem. It is the wrapper code around it, that does not handle big files. |
We might have to switch away from CPR soon, as the project seems mostly dead, and doesn't compile on the latest distros any more. Also, the way it's used currently might not be very efficient, see #29.
If possible, we should try to use https://aria2.github.io/manual/en/html/libaria2.html instead. aria2 is a very intuitive tool to download files in parallel, with just a few flags, automagically. It's very configurable and flexible to use on the CLI, so perhaps its library libaria2 might be an option to implement more efficient downloading of the chunks.
The text was updated successfully, but these errors were encountered: