diff --git a/src/agent/mod.rs b/src/agent/mod.rs index 85c67976..787bdfa2 100644 --- a/src/agent/mod.rs +++ b/src/agent/mod.rs @@ -532,6 +532,7 @@ impl AgentContext { // If curl gave us a timeout, check if it has expired. if self.timer.is_expired(now) { + self.timer.stop(); self.multi.timeout().map_err(Error::from_any)?; }