cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
occasional hostname resolve problems
I've written a daemon program for an embedded system which uses lib-curl to
periodically do an HTTP HEAD to a known good
server as a form of basic network monitoring to check if the network is up
Occasionally the curl lib. call fails and returns error code 6
(CURLE_COULDNT_RESOLVE_HOST). I am not sure why it's sometimes
failing, since as soon as it does fail the system automatically runs
ifconfig and pings some known good addresses by hostnames
and IP addresses. Those calls all succeed, so it looks like there is
nothing wrong with the network when the curl call
is failing. The libcurl connect and transfer timeouts are set to fairly
high values (20 and 30seconds).
The embedded system runs uCLinux 2.4.31 and libcurl 7.14.0.
Any ideas as to why libcurl is having problems with resolving hostnames?
Received on 2007-09-04
These mail archives are generated by hypermail.
Page updated November 12, 2010.
File upload with ASP.NET
web site info