Thread (21 messages) 21 messages, 4 authors, 2016-06-15

Re: [PATCH 02/14] http: turn off curl signals

From: Jeff King <hidden>
Date: 2016-06-15 22:52:28

On Thu, Nov 10, 2011 at 09:43:40AM +0100, Daniel Stenberg wrote:
quoted
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).
OK, that matches with my understanding. I think this patch is a fine
thing to do for us, then. If we ever do start caring about timing out on
name lookups, we can rework it.

Thanks.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help