Closed Omicronlawful closed 12 months ago
No, libcurl is not designed to be interrupted during a transfer when using the easy API; however, you can halt a transfer at any time when using the multi API. I recommend looking up some guides on using the curl multi API. The entrypoint to the multi API in the Rust bindings is the aptly-named Multi
type.
Hope that helps!
Im interested if its possible to stop the curl when parts of it where fetched