[erlang-questions] Gun process gone

Benoit Chesneau bchesneau@REDACTED
Wed Jan 14 19:17:28 CET 2015


hrmmmm hackney doesn't retry or it's a bug. do you have any code i could
use to reproduce and maybe fix?
On Wed 14 Jan 2015 at 18:05 Roberto Ostinelli <roberto@REDACTED> wrote:

> Dear list,
> I'm using gun as a HTTP client. I've chosen gun because I want a HTTP
> library that does not retry to reconnect or to issue a call on error. I was
> previously using hackney, but I couldn't set it to not retry automatically.
>
> Si, in gun I set {retry, 0} in the Options of the gun:open/3 call.
>
> I'm issuing consecutive calls, but after 3 or 4 calls (randomly) the gun
> process exits, and all I get is:
>
> crashed with reason: gone in gun:retry_loop/2 line 449
>
> I don't have any problems with the same server and another library. Has
> anyone seen this behavior with gun?
>
> Thanks,
> r.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150114/ab7c9ee5/attachment.htm>


More information about the erlang-questions mailing list