Correct me if I am wrong but I think that this is how it is supposed to work:
Iterating to connectionlist from the mostLongIdle to the leastLongIdle connection Fred will try to locate any connections that it can identify as closed... If one such is found then that one will be closed, tf none such is found fred will try to locate a connection which isn't presently sending data and use that one instead There was a bug some time back which caused fred to close the youngest connections first instead of the oldest... Maybe that one was present in 5028 already? /N > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of pineapple > Sent: den 25 september 2003 04:31 > To: [EMAIL PROTECTED] > Subject: Re: [freenet-dev] dead connections > > > Well, then freenet should start with the connections > with the longest idle times, which it is not doing now > because I still have connections (even after four days > uptime) that have hung around since the node first > started up. Depending on the OS is a bad idea because > not all OS's handle TCP the same way. > > ----- Original Message ----- > From: "Niklas Bergh" <[EMAIL PROTECTED]> > To: "Discussion of development issues" <[EMAIL PROTECTED]> > Sent: Wednesday, September 24, 2003 1:44 PM > Subject: Re: [freenet-dev] dead connections > > > > Idle connections will be dropped in favor of new > incoming connections as > > soon as there are any of those.... > > > > /N > > ----- Original Message ----- > > From: "pineapple" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, September 24, 2003 1:29 PM > > Subject: [freenet-dev] dead connections > > > > > > > Running v5028 on WinXP Home with Java 1.4.2. I > was > > > wondering if it might not be a good idea to close > > > incomming connections that have been idle for a > long > > > time (I usually have quite a few that open as soon > as > > > I start my node then stay idle forever). I > understand > > > new connections have a high cost, but surely a > > > connection that has been idle for 24 hours is not > > > being productive and should be closed to allow > new, > > > possibly more productive connections. Wouldn't > this > > > allow the network to be more dynamic and possibly > > > allow the node to run longer before needing to be > restarted? Isn't > > > this especially true on nodes > with a > > > limited number of connections (ie. Win9x)? > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > > http://sitebuilder.yahoo.com > > > _______________________________________________ > > > Devl mailing list > > > [EMAIL PROTECTED] > > > > http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl > > > > > > > _______________________________________________ > > Devl mailing list > > [EMAIL PROTECTED] > > > http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design > software http://sitebuilder.yahoo.com > _______________________________________________ > Devl mailing list > [EMAIL PROTECTED] > http://dodo.freenetproject.org/cgi-> bin/mailman/listinfo/devl > _______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
