Skip to content

Streams#3

Open
adamretter wants to merge 2 commits intofgeorges:masterfrom
adamretter:streams
Open

Streams#3
adamretter wants to merge 2 commits intofgeorges:masterfrom
adamretter:streams

Conversation

@adamretter
Copy link

The EXPath http-client-java should not read the response bodies into memory. When you are working with requests for large documents or binary files this will very quickly exhaust the available system memory.

This very simple change makes the caller responsible for deciding what to do with the response body data. Enabling implementations (such as eXist) which can efficiently send the stream to the client to perform IO in a streaming manner and thus drastically reduce memory overhead.

@adamretter
Copy link
Author

adamretter commented Aug 17, 2017

@fgeorges I just rebased it. Can I get an update on this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments