Skip to content

Commit 32f8453

Browse files
committed
build: bump header-plz to v0.0.12 for body-plz
1 parent eb5e839 commit 32f8453

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

body-plz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ edition = "2024"
1010
[dependencies]
1111
buffer-plz = "0.0.3"
1212
bytes = { workspace = true }
13-
header-plz = "0.0.11"
13+
header-plz = "0.0.12"
1414
thiserror = { workspace = true }
1515
tracing = { workspace = true }

body-plz/src/reader/chunked_reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl ChunkReaderState {
122122
return Some(ChunkType::EndCRLF(buf.split_at_current_pos()));
123123
}
124124
// 4.b. Actual Headers
125-
if MessageHead::is_ended(buf) {
125+
if MessageHead::is_complete(buf) {
126126
*self = Self::End;
127127
let header_map = HeaderMap::from(buf.split_at_current_pos());
128128
Some(ChunkType::Trailers(header_map))

0 commit comments

Comments
 (0)