Question

My chat program runs on a twisted server.When I open a page the icon place in tab has a rotating circle for entire time . I know that means an unfinished request .

Can anyone explain me what exactly is happening here ,its consequences and if possible a remedy ?

Was it helpful?

Solution

rotating circle means one of the requestes issued by the browser is unfinished. In your scenario your webclient might be long polling, one of the remedies is to use iframe for such requests, other fix is to start your polling request by setTimeout, look here

In many browsers XMLHttpRequest doesn't set the loading status

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top