The OkHttp3ClientHttpRequestFactory caches the request body. When the request body is too large, an OOM occurs. #28535
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: declined
A suggestion or change that we don't feel we should currently apply
The OkHttp3ClientHttpRequestFactory caches the request body. When the request body is too large, an OOM occurs.
The RestTemplate is:
But when i user OkHttp3Clientto upload this file, it is successful.
My question is why the SimpleClientHttpRequestFactory can set bufferRequestBody?
but OkHttp3ClientHttpRequestFactory without this switch?
I want to use the OkHttp3ClientHttpRequestFactory object without caching the request body,How can I do it?
The text was updated successfully, but these errors were encountered: