There is a browser dependent limit on the number of concurrent HTTP
connections that can be made to a given domain. For HTTP 1.1 this is
typically set to 2 connections for a given domain. Can you try making
your second HTTPService call to another domain to see if it has any
effect?

Pete

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of yannick_legarff
Sent: Wednesday, December 12, 2007 11:14 AM
To: [email protected]
Subject: [flexcoders] conflict between 2 HTTPService objects

Hi,

I'm using 2 HTTPService objects in parallel and the flash player seems
to be confused with that in a particular situation.


I'm using the first HTTPService to retrieve asynchronous events from an 
http api server.
To use this api, I have first to register. Then I send an http POST 
request with an xml content (<get_event>). The api server sends me the 
response only once it has something to tell me (it could be few minutes 
after my request). This part works fine.

I use my second HTTPService in a more regular way to retrieve 
information from an http api servers. In this case the server sends me 
the response to my request immediately.

This second HTTPService works fine alone. But if I have sent a request 
with my first HTTPService (and if I'm still waiting from a server 
response), the request is not sent. I see that by analysing the TCP/IP 
trafic.
Even more strange: when I receive a response in my first HTTPService, 
the, the request from the second HTTPService is finally sent ...


Thanks for any hint to bypass this problem.
Except if it is a bug in the flash player, I don't understand why an 
HTTPService could disturb another one.

John



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



Reply via email to