garage_api(fixup): Fix stream early ending edge-case
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
e7e8ce73e3
commit
b2eda2c13e
1 changed files with 0 additions and 4 deletions
|
@ -233,10 +233,6 @@ where
|
|||
return Poll::Ready(Some(Err(SignedPayloadStreamError::Stream(e))))
|
||||
}
|
||||
None => {
|
||||
if this.buf.is_empty() {
|
||||
return Poll::Ready(None);
|
||||
}
|
||||
|
||||
return Poll::Ready(Some(Err(SignedPayloadStreamError::message(
|
||||
"Unexpected EOF",
|
||||
))));
|
||||
|
|
Loading…
Reference in a new issue