[erlang-questions] better HTTP client?
Bob Ippolito
bob@REDACTED
Mon Sep 9 01:33:05 CEST 2013
On Sunday, September 8, 2013, Chris King wrote:
> **
> On Sun, 08 Sep 2013 19:00:20 -0400, Bob Ippolito <bob@REDACTED<javascript:_e({}, 'cvml', 'bob@REDACTED');>>
> wrote:
>
> It's been a long time since I looked under the hood, but have you looked
> at lhttpc? It worked well for us when inets httpc did not.
>
>
> Hm, that looks good, but does not support asynchronous cancelable
> requests. (I do lots of speculative prefetching; I want to be able to
> cancel not-yet-scheduled requests if they are no longer needed.) I will
> keep it in mind though; thanks.
>
Async cancelable and synchronous are basically isomorphic in Erlang, just
start a process to wrap the sync call and kill it if you want to cancel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130908/3e87e017/attachment.htm>
More information about the erlang-questions
mailing list