Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use buffer string when parsing multipart requests
Passing a buffer string as a second argument to `IO#read` will make the Rack input IO, instead of creating a new string object on each read, load each chunk into the same string instance (overwriting the previous content). This greatly reduces string allocations.
- Loading branch information