Re: [PATCH 02/14] http: turn off curl signals
- From
Daniel Stenberg <daniel@haxx.se>
- Date
- Nov 10, 2011, 08:43 UTC
- Message-ID
- <alpine.DEB.2.00.1111100941380.27581@tvnag.unkk.fr>
- In-Reply-To
- <20111110074803.GB27950@sigill.intra.peff.net>
On Thu, 10 Nov 2011, Jeff King wrote:
> I'm a little iffy on this one. If I understand correctly, depending on the > build and configuration, curl may not be able to timeout during DNS lookups. > But I'm not sure if it does, anyway, since we don't set any timeouts.
Right, without a timeout set libcurl won't try to timeout name resolves.
To clarify: when libcurl is built to use the standard synchronous name resolver functions it can only abort them after a specified time by using signals (on posix systems).
-- / daniel.haxx.se