Skip to content

Request streaming for HttpComponentsClientHttpRequestFactory [SPR-10728] #15356

@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits 14ab2c8

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions