Efficient Parsing of Reactive Buffer Streams
It has been a while since Spring Framework 5.3 was released. One of the features in that release was a major overhaul of our Reactive Multipart support. In this blog post, we share some of the knowledge learned while working on this feature. Specifically, we focus on finding a token within a stream of byte buffers.
Multipart Form Data
Whenever you upload a file, your browser sends it — and other fields in the form — to the server as a multipart/form-data
message. The exact format of these messages is described in RFC 7578. If you submit a simple form with a single text field called foo
and a file selector called file
, the multipart/form-data
…