On Sat, Oct 26, 2002 at 08:59:47PM +0200, Jonas Jensen wrote: > This patch lets the user set the environment variable DISTCC_TIMEOUT to > control how long distcc will wait for the dns lookup and connection. > Without this patch, distcc would wait for several minutes when a host or > a dns server was down.
I wrote a patch similar to this for Samba that didn't end up being applied. I used the __res_state structure described in /usr/include/resolv.h which allows you to set various properties of the resolver library, including timeout values. I thought I would suggest it in case people don't like using longjmp. Tim. _______________________________________________ distcc mailing list [EMAIL PROTECTED] http://lists.samba.org/cgi-bin/mailman/listinfo/distcc
