[erlang-questions] http:request() - can only do one async query ?

Adam Kelly cthulahoops@REDACTED
Wed Jul 9 12:57:36 CEST 2008


2008/7/8 Vincent de Phily <vincent.dephily@REDACTED>:
> 5> receive Rcv -> Rcv after 5000 -> timeout end.
> timeout

Rcv is already bound to the result of the first http request, so the
receive doesn't match the
response from the second request.   If you throw in a f(Rcv) it should
work fine.  The flush()
shell built in is very useful for testing this kind of thing.

Adam.



More information about the erlang-questions mailing list