On Sunday 10 August 2008 15:10, Michael Rogers wrote:
> Daniel Cheng wrote:
> > Would this happened if the source is a darknet/openet mixed node?
> 
> Hybrid nodes still obey the limit of 20 connections. I'm not sure if
> there's an edge case where a hybrid node has 20 connections, then one of
> its darknet peers comes online and it has to drop an opennet connection
> to make room, but it hasn't finished doing so when it sends the FOAF
> message so it temporarily lists 21 connections. (This is just speculation.)

IMHO that is a valid corner case, so we should be a little less aggressive in 
enforcing the limit. Maybe disconnect immediately if it's over 22, and if it 
stays over 20 for more than X period?
> 
> Cheers,
> Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080811/4434d95d/attachment.pgp>

Reply via email to