We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 466fe52 commit 5c21ebcCopy full SHA for 5c21ebc
gix-protocol/src/fetch/function.rs
@@ -101,6 +101,11 @@ where
101
let _round = gix_trace::detail!("negotiate round", round = rounds.len() + 1);
102
progress.step();
103
progress.set_name(format!("negotiate (round {})", rounds.len() + 1));
104
+ if should_interrupt.load(Ordering::Relaxed) {
105
+ return Err(Error::Negotiate(negotiate::Error::NegotiationFailed {
106
+ rounds: rounds.len(),
107
+ }));
108
+ }
109
110
let is_done = match negotiate.one_round(&mut state, &mut arguments, previous_response.as_ref()) {
111
Ok((round, is_done)) => {
0 commit comments