Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(http): avoid infinite recursion when Body::from is called with Co…
…w::Owned. (#1343) When cow is a Cow::Owned, cow.to_owned() returns a Cow::Owned, which leads to infinite recursion. Extract the owned or borrowed values from the cow to ensure progress is made in either case.
- Loading branch information