Skip to content

Commit

Permalink
fix process result value
Browse files Browse the repository at this point in the history
  • Loading branch information
tetter27 committed Jan 14, 2025
1 parent c54bcb7 commit 1510124
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions moqt-server/src/modules/message_handlers/stream_header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ pub async fn try_read_header(
tracing::warn!("{:#?}", err);
// Reset the cursor position because data for the header has not yet arrived
buf.advance(read_cur.position() as usize);
StreamHeaderProcessResult::Failure(
TerminationErrorCode::InternalError,
err.to_string(),
)
StreamHeaderProcessResult::Continue
}
}
}
Expand All @@ -124,10 +121,7 @@ pub async fn try_read_header(
tracing::warn!("{:#?}", err);
// Reset the cursor position because data for the header has not yet arrived
buf.advance(read_cur.position() as usize);
StreamHeaderProcessResult::Failure(
TerminationErrorCode::InternalError,
err.to_string(),
)
StreamHeaderProcessResult::Continue
}
}
}
Expand Down

0 comments on commit 1510124

Please sign in to comment.