Skip to content

Commit

Permalink
Still keep the process_output before handle
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Apr 7, 2024
1 parent 1de1ca2 commit 3816bab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neqo-bin/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ struct Runner<'a, H: Handler> {
impl<'a, H: Handler> Runner<'a, H> {
async fn run(mut self) -> Res<Option<ResumptionToken>> {
loop {
self.process_output().await?;

let handler_done = self.handler.handle(&mut self.client)?;

match (handler_done, self.args.resume, self.handler.has_token()) {
Expand Down

0 comments on commit 3816bab

Please sign in to comment.