aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-25 19:00:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-25 19:00:57 +0000
commit8927ddec1687a438354eae6c527da92c6c63b50b (patch)
tree5f443d4fa1d0ebf681b0ff88dc5ea06c8b8043c9 /lib/hostip.h
parentf6525ae20087290e1ce91839461e671b9ec81cc0 (diff)
In order to not get problems with DNS cache pruning, we no longer store
any name resolved data in any curl handle struct. That way, we won't mind if the cache entries are pruned for the next time we need them. We'll just resolve them again instead. This changes the Curl_resolv() proto. It modifies the SessionHandle struct but perhaps most importantly, it'll make the internals somewhat dependent on the DNS cache not being disabled as that will cripple operations somewhat. Especially for persistant connections.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index dc8a258e0..8461a7e53 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -37,8 +37,7 @@ curl_hash *Curl_global_host_cache_get(void);
Curl_addrinfo *Curl_resolv(struct SessionHandle *data,
char *hostname,
- int port,
- char **bufp);
+ int port);
/* Get name info */
Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data,