> You could try setting up the connect timeout anyways, if a domain name
> lookup takes you 5 seconds you must be a on a very shabby connections (it
> took me about 2, and I'm on a modem... in Indonesia).
DNS lookups, and by extension any TCP handshake, defaults to a timeout
of 120 seconds per the RFCs (IIRC)[1]. If you guys are bypassing the OS
defaults to lower the timeouts by default, you'll probably going to see
alot more breakage than this. I could see justifying it for a server
which is under high load or as a DoS responder (shorten the latency,
keep the tables clear), but I'm not so sure it's a great idea for
normal use. If this is the result of having to make a blocking call
(as most dns lookups ARE), and the client in question is not threaded...
that may be justification... but it just undescores why threading
of some sort (even primitively) is necessary.
~ Signal 11
[1] Yes, I know packet sizes < 512 are done via UDP, but the
latencies are the same, I believe.
_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev