Skip to content

Commit

Permalink
g3-http: fix read of chunked data after preview
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq committed Nov 21, 2024
1 parent 0b6da0b commit 9be623b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/g3-http/src/body/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ where
next_read_type: NextReadType::FixedLength,
body_line_max_len,
next_read_size: 0,
left_total_size: 0,
left_total_size: next_chunk_size,
chunk_size_line_cache: Vec::<u8>::with_capacity(Self::DEFAULT_LINE_SIZE),
trailer_line_length: 0,
trailer_last_char: 0,
Expand Down

0 comments on commit 9be623b

Please sign in to comment.