Closed abonander closed 2 years ago
Currently, it appears to return Status::Partial even though a zero-sized buf generally means the end of a stream. It should probably return Status::Complete((0, &[])) instead.
Status::Partial
Status::Complete((0, &[]))
This should probably be closed. A zero-sized buf does not terminate with \r\n so no, the parse was not complete.
\r\n
Currently, it appears to return
Status::Partial
even though a zero-sized buf generally means the end of a stream. It should probably returnStatus::Complete((0, &[]))
instead.