Skip to content

Commit

Permalink
chore: ignore restore result
Browse files Browse the repository at this point in the history
  • Loading branch information
tejmagar committed Jun 7, 2024
1 parent a1f8472 commit be747dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser/multipart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ impl MultipartParser {
// Form part completed but body is not ended yet
// Skips line break \r\n
scan_buffer = (&scan_buffer[CRLF_BREAK.len()..]).to_vec();
self.stream.restore_payload(&scan_buffer.as_ref()).await;
let _ = self.stream.restore_payload(&scan_buffer.as_ref()).await;
form_part.file = Some(temp_file);
self.allow_next_header_read = true;
Ok(false)
Expand Down

0 comments on commit be747dd

Please sign in to comment.