Version: (using KDE 3.5.8) Installed from: Ubuntu Packages OS: Linux async xmlhttprequests which are running when a page is navigated away from are not aborted. they continue to hang around until the server responds to the request. in the case of eg comet, the server may never respond to the request (nothing to notify). eventually the user will hit the maximum number of connections per server, and konqueror will appear to hang. also worth noting that the connections are not dropped when kde is quit - 'klauncher' processes hang around. firefox correctly (IMHO) aborts these requests when leaving a page. IE doesn't abort and very quickly hits it's connection limit (surprise). konqueror doesn't abort the requests, but it doesn't seem to hit a connection limit either?
Created attachment 24121 [details] simple test page needs the dumb php page too
Created attachment 24122 [details] really simple php page to simulate eg comet with long wait time
a small comment - it certainly should be safe to abort pending 'GET' operations. 'POST' should probably not!
Thanks for the report.
another comment.. safari aborts the requests.
Using konqueror 4.2.90, here klauncher processes don't grow.
A potential cause for bug #187597.
SVN commit 1075245 by orlovich: - Make sure to cancel non-POST XHR jobs when the related document object is destroyed. (#160087) - Related to this, don't crash trying to emit events when we get to changeState w/o a doc (#187597, #214584, #213987, #201053). Also add some paranoia about that for the methods. - Handle encoding inside mimetype overrides. (Some demo by Mr. Strigi). BUG: 160087 BUG: 187597 BUG: 214584 BUG: 213987 BUG: 201053 M +32 -6 xmlhttprequest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1075245
SVN commit 1075253 by orlovich: automatically merged revision 1075245: - Make sure to cancel non-POST XHR jobs when the related document object is destroyed. (#160087) - Related to this, don't crash trying to emit events when we get to changeState w/o a doc (#187597, #214584, #213987, #201053). Also add some paranoia about that for the methods. - Handle encoding inside mimetype overrides. (Some demo by Mr. Strigi). BUG: 160087 BUG: 187597 BUG: 214584 BUG: 213987 BUG: 201053 M +32 -6 xmlhttprequest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1075253