Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'can't keep'em alive ?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
can't keep'em alive ?
Authored by: hagbard on Jan 24, '03 04:31:56PM

After reading the comments, I checked my prefs.js file, and removed the pipelining, which effectively renders my chimera faster...
I added the following, which was not in my file:
user_pref("network.http.keep-alive", true);
user_pref("network.http.proxy.keep-alive", true);
user_pref("network.http.keep-alive.timeout", 180000);
(I guessed the timeout was in milliseconds ?)
But my problem is that when I do a netstat -an right after a page is loaded, no connexion remains open, ie keep-alive is NOT working. I tried increasing the timeout value, but it didn't change anything...
Does anyone else have the same problem ???



[ Reply to This | # ]
Re: can't keep'em alive ?
Authored by: marook on Jan 24, '03 06:17:31PM
Well, Keep Alive is not ment to Keep a Connection Alive without data needed to be transfered!

Keep Alive will Keep the Connection Alive (not closed) as long as the Page you are loading still has items that need to be loaded - with a maximum length = maxlength. After maxlength timesout, a new connection is made!

All god network applications close the connection when they are done with the transfer! Imagine what would happen if your browser kept a connection to every site you had visited since last boot!

Keep ALive is ment to keep the overhead of opening/closing connections for every gif/jpg/swf down, by requesting the items over the same connection.
Hope it makes sence...

[ Reply to This | # ]
Re: can't keep'em alive ?
Authored by: hagbard on Jan 25, '03 01:30:05AM

please read my comment carefully, I talk about timeout and connexions not being kept up before the timeout.... of course we don't want zombie connexions, but when you keep on surfing on the same site, having alive connexions speeds things up...



[ Reply to This | # ]