Skip to content
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

Add system property to cap memory usage in ResponseInputStream #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tbelaire
Copy link

Right now it will consume an unbounded amount of memory if the remote server sends a response with nonsense all on one line.

It could also use a fixed limit instead of making it configurable if that is preferable.

Right now it will consume an unbounded amount of memory if the remote server sends a response with nonsense all on one line.
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