[erlang-questions] better HTTP client?

Chris King <>
Mon Sep 9 01:45:08 CEST 2013


On Sun, 08 Sep 2013 19:33:05 -0400, Bob Ippolito <> wrote:

> 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.

Not quite -- the HTTP request remains outstanding and blocks the request  
queue.  I need to clear those requests out, as I need to process new  
requests ASAP.  This should be handled by the HTTP client itself, as only  
it knows how many requests it has actually sent to the server.  (The  
alternative would be for the HTTP client to expose a crediting mechanism;  
though this would complicate the application.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130908/21c55c96/attachment.html>


More information about the erlang-questions mailing list