[erlang-questions] better HTTP client?
Mon Sep 9 01:45:08 CEST 2013
On Sun, 08 Sep 2013 19:33:05 -0400, Bob Ippolito <bob@REDACTED> 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
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...
More information about the erlang-questions