[erlang-questions] better HTTP client?

Chris King colanderman@REDACTED
Mon Sep 9 03:54:40 CEST 2013


On Sun, 08 Sep 2013 21:44:31 -0400, Bob Ippolito <bob@REDACTED> wrote:

> Are you really sure about that? lhttpc:request/9 uses spawn_link, so it  
> should abort the request as soon as the callee >dies.
> https://github.com/esl/lhttpc/blob/master/src/lhttpc.erl#L431

Which, depending on the architecture, would either end the HTTP session  
(undesirable), or would leave the HTTP session in an undefined state (also  
undesirable).  Of course, it's possible to handle such a forced exit  
gracefully, but looking at lhttpc_client I see no evidence that it does.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130908/4235d8a9/attachment.htm>


More information about the erlang-questions mailing list