Read large data using InputStreamResource at ResourceHttpMessageConverter [SPR-13443] #18023
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Kazuki Shimizu opened SPR-13443 and commented
Currently,
ResourceMessageConverter
is reading asByteArrayResource
from the HTTP body. If large data has been set at http body, there is possibility that occur theOutOfMemoryError
.I want to be able to read as
InputStreamResource
as follows:How do think ?
I submit a PR at the later.
Affects: 4.2.1
Issue Links:
Referenced from: pull request #871, and commits 1feb757
The text was updated successfully, but these errors were encountered: