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

Hackney can not handle very large responses. #729

Open
paulanthonywilson opened this issue Nov 2, 2023 · 1 comment
Open

Hackney can not handle very large responses. #729

paulanthonywilson opened this issue Nov 2, 2023 · 1 comment

Comments

@paulanthonywilson
Copy link

With a response body of more than 67,110,167 bytes (which is admittedly pretty big) hackney returns a enomem. Confirmed that the behaviour is the same on Linux, OS X, and Windows.

https://github.com/paulanthonywilson/enomem/blob/main/nomem_client/README.md confirms the issues.

You may not want to support such very large responses, but thought you should know.

@benoitc
Copy link
Owner

benoitc commented Jan 22, 2024

@paulanthonywilson you can stream the response. I don't see any limit per see related to hackney when you stream the body.

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

No branches or pull requests

2 participants