mirror of https://github.com/fafhrd91/actix-web
* actix-multipart: Fix multipart boundary reading If we're not ready to read the first line after the multipart field (which should be a "\r\n" line) then return NotReady instead of Ready(None) so that we will get called again to read that line. Without this I was getting MultipartError::Boundary from read_boundary() because it got the "\r\n" line instead of the boundary. * actix-multipart: Test handling of NotReady Use a stream that reports NoReady and does partial reads in the test_stream test. This works now, but failed before the previous commit. |
||
---|---|---|
.. | ||
error.rs | ||
extractor.rs | ||
lib.rs | ||
server.rs |