hackney icon indicating copy to clipboard operation
hackney copied to clipboard

Hackney can not handle very large responses.

Open paulanthonywilson opened this issue 2 years ago • 1 comments

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.

paulanthonywilson avatar Nov 02 '23 13:11 paulanthonywilson

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

benoitc avatar Jan 22 '24 21:01 benoitc

closing the ticket as it was likely authors not reading documentation enough.

benoitc avatar Feb 20 '25 16:02 benoitc