Skip to content

Commit

Permalink
rust: stream ending mid-chunk is unexpected EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
james-rms committed Jan 24, 2025
1 parent d16d4b4 commit 96bfd5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ categories = [ "science::robotics", "compression" ]
repository = "https://github.com/foxglove/mcap"
documentation = "https://docs.rs/mcap"
readme = "README.md"
version = "0.14.0"
version = "0.14.1"
edition = "2021"
license = "MIT"

Expand Down
3 changes: 0 additions & 3 deletions rust/src/sans_io/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,6 @@ impl LinearReader {
{
return None;
}
if self.chunk_state.is_some() {
return Some(Err(McapError::UnexpectedEoc));
}
return Some(Err(McapError::UnexpectedEof));
}
self.file_data.end += read;
Expand Down

0 comments on commit 96bfd5e

Please sign in to comment.