Closed Bug 779637 Opened 12 years ago Closed 8 years ago

firefox holding open XHR connection across page reloads

Categories

(Core :: DOM: Core & HTML, defect)

14 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: davidpbritton, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120726160848

Steps to reproduce:

Load up our web application with FF14 on Ubuntu and reload the page a few times ~10 times.




Actual results:

Around the 10th reload, firefox will spin connecting to the web site.

Increasing max_connections_per_server dimishes this problem.   After inspecting lsof/netstat, I can see that the connections are being held onto across page reloads, specifically, it appears as though the XHR is being held open across reloads until some built-in timeout is hit (I guess around 2 minutes).

This problem did not occur in FF13, and just trying the FF15 beta, the problem is not occurring there.  Since users can install FF14, and it is the default on Ubuntu, it seems like something that should be fixed.



Expected results:

The web site should have loaded immediately, the connections should have been closed when the user hits reload on the page.
See the Launchpad bug for a test case that reproduces the issue on FF14
Component: Untriaged → Networking
Product: Firefox → Core
this would be a matter of the xhr code not canceling the necko channel (and there are a finite number of them per origin) between reloads.. I suspect this is now WFM - but moving to right component
Component: Networking → DOM: Core & HTML
Is this still happening? I'm pretty sure Bug 734057 should have helped here.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.