-
Notifications
You must be signed in to change notification settings - Fork 338
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
Streaming URLs hang HTTPoison #161
Comments
Could you point me to an example on how to replicate this issue? I suppose we can expose a "cancel_request" as |
Sure, you can execute the following:
Replace the url with any http streaming url, and the result will be the same. |
Just a follow up on this old issue @edgurgel, I had a chance to attempt this with But unfortunately this leaks HTTPoison processes. They get stuck in Not sure where to go from here, but any help would be much appreciated! |
Hey sorry for resurrecting a really old thread, but I ran into this recently with HTTPoison and streaming large files (to download large files). I found that disabling the hackney pooling (
I'm going to update the other thread with the same (#174 hopefully that's OK). |
Hi,
I'm using HTTPoison to fetch html data from arbitrary URLs. But if a URL points to a stream, HTTPoison never completes the standard
HTTPoison.get
, and there's no completion timeout I can use (that I know of), sincetimeout
is just for the initial connection andrecv_timeout
is for the beginning of the response (not the completion of the response).Is there a way I can detect if a URL points to a stream with no size, rather than a response with a fixed size, so I can skip them? Or failing that, is there an option I can pass that will timeout of the request isn't completed in x seconds?
Thanks!
The text was updated successfully, but these errors were encountered: