cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t

From: José Pedro Silva Pinto <jose.pinto_at_optimus.pt>
Date: Thu, 30 Sep 2004 18:23:26 +0100

Hi,

The file nsswitch.conf (HP), define which services should be used to determine some information, like hostnames

To configure hostnames on nsswitch.conf, we can use a file (hosts) , and a dns server.

If we use dns first, and if the server has got a problem, some applications could not run well (time out)

About my problem...

To test Curl (test 190), we should have localhost defined on hosts file
If our hosts file was well defined, and if we defined a dns server to be the first service to determine host information, the problem occurred, if our dns serve has got a problem (time out).

To resolve this problem we re-configure nsswitch.conf to use host file first

hosts : files [NOTFOUND=continue UNAVAIL=continue] dns

By

Jose Pedro Silva Pinto
Received on 2004-09-30