Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http: complete multipart until request.body-limit
In the case we are truncating a multipart file because of reaching request.body-limit, we used to not consume the whole buffer, but keep expected_boundary_len bytes in case a new boundary begins in these bytes. Even if we cannot check the complete boundary, we can still check the first bytes, as will be done in the rust version. Ticket: #5952 (cherry picked from commit 578f328) (cherry picked from commit caf9940)
- Loading branch information