-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Arjen Poutsma opened SPR-10728 and commented
The HttpComponentsClientHttpRequest buffers the request contents in memory before sending it over the wire. This can take up significant amounts of memory for large POSTs/PUTs.
It would be nice if we avoid having to buffer request content in memory, but rather stream it directly to the output. We probably want to use org.apache.http.HttpEntity for this purpose.
Issue Links:
- Upgrade Apache HttpClient to version 4.0 [SPR-6180] #10848 Upgrade Apache HttpClient to version 4.0
- RestTemplate with HttpComponentsClientHttpRequestFactory and no buffering with an interceptor throws UnsupportedOperationException [SPR-16582] #21124 RestTemplate with HttpComponentsClientHttpRequestFactory and no buffering with an interceptor throws UnsupportedOperationException
Referenced from: commits 14ab2c8
1 votes, 3 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement