mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 22:21:32 +00:00
The biggest change is handling timeout in a better way. The response code in a timeout (and some other curl errors) is the response from the last successful operation, so on timeouts we can get 200 (OK) response code instead of 206(partial content) in a partial download. So we should look at curl return and not on http return code to decide if we are going to try to resume the download or not. Changing slow-server test because error message has changed Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>