Closed algesten closed 1 month ago
Running the 1000000 top sites test, we sometimes, very rarely get this panic:
[2024-08-15T00:32:00Z ERROR ureq::unit] Incorrect state: Cleanup thread 'main' panicked at src/unit.rs:270:22:
The problem is to do with sending Input::Begin when unit is in the wrong state. The extract! below is what's failing.
Input::Begin
extract!
Input::Begin => { let flow = extract!(&mut self.state, State::Begin) .expect("Input::Begin requires State::Begin"); self.call_timings.time_call_start = Some(now); self.set_state(State::Prepare(flow)); }
Running the 1000000 top sites test, we sometimes, very rarely get this panic:
The problem is to do with sending
Input::Begin
when unit is in the wrong state. Theextract!
below is what's failing.