Skip to content

Request streaming for HttpComponentsClientHttpRequestFactory [SPR-10728] #15356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Jul 9, 2013 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 9, 2013

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

@spring-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

Pull request at #312

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants