[erlang-questions] Http client sending http response to wrong handler
Mon Jun 6 11:45:12 CEST 2011
Our app makes a lot of HTTP requests and we are facing this issue with both
inets-5.5.1 and 5.3.2.
Basically our receive clause for the response is trying to match the request
id returned in httpc:request call
and we see that the match always fails with the wrong Request Id .
We gave seen this mismatch in all 3 receive clauses for
stream_start, stream and stream_end
What we observed after a lot of trial and error is that if the same pid
makes the http requests , the responses get kind of muddled up but if we
spawn a separate process for the httpc:request , it is better . But here
too we have seen some occurrences of this faulty behaviour.
Has anyone faced this issue ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions