diff --git a/src/agent/onefuzz-agent/src/tasks/utils.rs b/src/agent/onefuzz-agent/src/tasks/utils.rs index 5b36ab7c4c..4ed1fb346d 100644 --- a/src/agent/onefuzz-agent/src/tasks/utils.rs +++ b/src/agent/onefuzz-agent/src/tasks/utils.rs @@ -4,7 +4,8 @@ use anyhow::Result; use async_trait::async_trait; use onefuzz::{http::ResponseExt, jitter::delay_with_jitter}; -use reqwest::Url; +use reqwest::{Client, Url}; +use reqwest_retry::SendRetry; use std::path::{Path, PathBuf}; use std::time::Duration; use tokio::{fs, io}; @@ -13,7 +14,9 @@ pub async fn download_input(input_url: Url, dst: impl AsRef) -> Result