cURL / Mailing Lists / curl-library / Single Mail

curl-library

Delphi + Curl ( CurlPas ) problems

From: pg04 <pg04_at_bol.com.br>
Date: Tue, 16 Mar 2004 11:39:35 -0300

Hello..

i'm having a little problem with CurlPas. let's me
describe my problem.

When i unplug my LAN cable from my machine curl cannot
resolve a DNS ( obvious ).
When i plug back the LAN cable curl cannot resolve the
same host ( which i know is ok )and now my LAN is OK.
it just resolves if i reopen my application.
Something like it's using a cache.
I tryed using:
DnsCacheTimeOut := 0;

i thought that the DnsCacheTimeOut will solve my
problem.
A quote from the CurlPas doc about the DnsCacheTimeOut:
==============
Name resolves will be kept in memory for this number of
seconds. Set to zero (0) to completely disable caching,
or set to -1 to make the cached entries remain forever.
By default, libcurl caches info for 60 seconds.
===============
It acts like it's set to -1 isn't it ??

Am i doing something wrong ???
Thanks for the support..

Cheers..
PG
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/
Received on 2004-03-16