Handle streaming payload early in request handling #247

Merged
lx merged 5 commits from KokaKiwi/garage:more-streaming-payload into main 2022-03-23 09:23:06 +00:00
Showing only changes of commit 4458996ea5 - Show all commits

View file

@ -305,7 +305,7 @@ mod tests {
let seed_signature = Hash::default();
let mut stream =
SignedPayloadStream::new(body, signing_hmac, datetime, &scope, seed_signature).unwrap();
SignedPayloadStream::new(body, signing_hmac, datetime, &scope, seed_signature);
assert!(stream.try_next().await.is_err());
match stream.try_next().await {