aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.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/urldata.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/urldata.h')
-rw-r--r--lib/urldata.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 0a0416996..d61f28132 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -282,9 +282,6 @@ struct connectdata {
#define PROT_FTPS (1<<9)
#define PROT_SSL (1<<10) /* protocol requires SSL */
- Curl_addrinfo *hostaddr; /* IP-protocol independent host info pointer list */
- char *hostent_buf; /* pointer to allocated memory for name info */
-
#ifdef ENABLE_IPV6
struct addrinfo *serv_addr; /* the particular host we use */
#else