Skip to content

Commit

Permalink
fix(codecs): Continue on error
Browse files Browse the repository at this point in the history
This reverts a commit to bump tokio-util from 0.6.8 to 0.6.9 (#9938)
since this introduced behavior where Vector would stop processing if the
incoming data couldn't be parsed by the codec.

This reverts commit d6ace26.

Closes: #11245
  • Loading branch information
jszwedko committed Feb 8, 2022
1 parent 1a7bf03 commit f5573ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/expiring_hash_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ mod tests {
let mut map = ExpiringHashMap::<String, String>::default();

map.insert("key".to_owned(), "val".to_owned(), Duration::from_secs(1));
map.remove("key");

let mut fut = task::spawn(map.next_expired());
assert_pending!(fut.poll());
Expand Down

0 comments on commit f5573ca

Please sign in to comment.