On 10/12/06, Paul Moore <[EMAIL PROTECTED]> wrote: > On 10/12/06, Bob Ippolito <[EMAIL PROTECTED]> wrote: > > On 10/12/06, Paul Moore <[EMAIL PROTECTED]> wrote: > > > It looks like *something* is serialising my requests - precisely what I > > > don't want. What am I doing wrong? > > > > Nothing is wrong, it's fine. Everything looks correct. > > Thanks for that, that at least reassures me that I'm not doing something dumb. > > > What you're > > seeing is that the server responds fast enough to where it appears to > > be serialized... if the first request took a while the second would > > certainly start before it finished. > > Unfortunately, that doesn't seem to be the case. To test this, I'm > using a CGI which does a time.sleep() and then returns the sleep > duration. With a longish sleep for the first one, I definitely don't > see the second CGI kick in until the first disappears. > > Maybe it's an apache-on-windows problem or something like that. No, a > bit more testing reveals it to be Firefox-specific. I can kick off > multiple requests in parallel from the command line using curl, and > running the page in Internet Explorer works (!) But Firefox (1.5.0.7 > on Windows XP) serialises the requests. Odd. > > Thanks for confirming it's not my code. Now I need to hunt for a workaround...
There are configuration settings for Firefox that let you adjust the amount of concurrent connections and such that it'll allow. The other workarounds would be to generate <script> tags instead of XMLHttpRequest (possibly using different domain names to make Firefox think it's talking to different servers to bump up the concurrency) or refactor the server so that it can batch requests. -bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---
