muliple XHR requests at the same time
I have a basic question about asynchronous request call. Does the browser execute more than one XHR at the same time, or does it abor开发者_StackOverflow中文版t a request if a new one is send, while the first is still working? Are there differences in the implementation between browsers?
I tried to create a hole bunch of requests in a loop, but all, except the last one, were aborted. So for now i plan to implement a queue for all requests, but i am not certain if this is really needed.
Greetings
Yes, browsers do allow multiple concurrent XHR.
If your code only succeeds with one, it's most probably because of a bug. If possible, create a small example and show us what you are doing.
精彩评论