1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-07-07 06:25:51 +00:00
actix-web/actix-multipart/CHANGES.md
Alexander Larsson a612b74aeb actix-multipart: Fix multipart boundary reading (#1205)
* 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 Pending 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.

Also tweaks the test_stream test to test partial reads.

This is a forward port of #1189 from 1.0

* actix-multipart: Update changes for boundary fix
2019-12-12 07:03:44 +06:00

772 B

Changes

[2.0.0-alpha.4] - 2019-12-xx

  • Multipart handling now handles Pending during read of boundary #1205

[0.2.0-alpha.2] - 2019-12-03

  • Migrate to std::future

[0.1.4] - 2019-09-12

  • Multipart handling now parses requests which do not end in CRLF #1038

[0.1.3] - 2019-08-18

  • Fix ring dependency from actix-web default features for #741.

[0.1.2] - 2019-06-02

  • Fix boundary parsing #876

[0.1.1] - 2019-05-25

  • Fix disconnect handling #834

[0.1.0] - 2019-05-18

  • Release

[0.1.0-beta.4] - 2019-05-12

  • Handle cancellation of uploads #736

  • Upgrade to actix-web 1.0.0-beta.4

[0.1.0-beta.1] - 2019-04-21

  • Do not support nested multipart

  • Split multipart support to separate crate

  • Optimize multipart handling #634, #769