[erlang-questions] Http client sending http response to wrong handler
Suma Shivaprasad
sumasai.shivaprasad@REDACTED
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...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110606/2cc7d403/attachment.htm>
More information about the erlang-questions
mailing list