cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
PATCH - alarm()-based DNS timeout bug?
From: Thomas Lopatic <lopatic_at_yahoo-inc.com>
Date: Mon, 22 Mar 2010 12:40:04 -0700
I have attached a piece of code that demonstrates the problem for me on
Result is 0
In case of a DNS timeout the output is as follows, so the signal handler
Result is 6
To trigger a DNS timeout I simply removed the legitimate name server
The attached patch (against 7.20.0) is straight forward. We need to jump
Looks like this bug was introduced in 7.19.1 when the call to
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info