[distcc] [PATCH] timeout for gethostbyname and connect
Jonas Jensen
jbj at knef.dk
Sun Oct 27 22:28:01 GMT 2002
On Sun, 2002-10-27 at 23:11, Tim Potter wrote:
> 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.
Yeah, longjmp isn't pretty, but does __res_state work with other
resolvers than glibc? (BSD, cygwin, etc.)
/Jonas Jensen
More information about the distcc
mailing list