aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-29 13:07:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-29 13:07:16 +0000
commitc4ff5eb0ca9322a6671d581e80e0c63085b21426 (patch)
tree03874f63e536a826cd2eb6f677505aaf38b40184 /lib/urldata.h
parent0859cd24440d5d3fe49b4a68da70eb14ce08d950 (diff)
conn->ip_addr MUST NOT be used on re-used connections
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index c51ccf303..2068c9a70 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -293,8 +293,9 @@ struct ConnectBits {
bool httpproxy; /* if set, this transfer is done through a http proxy */
bool user_passwd; /* do we use user+password for this connection? */
bool proxy_user_passwd; /* user+password for the proxy? */
- bool ipv6_ip; /* we communicate with a remove site specified with pure IPv6
+ bool ipv6_ip; /* we communicate with a remote site specified with pure IPv6
IP address */
+ bool ipv6; /* we communicate with a site using an IPv6 address */
bool use_range;
bool rangestringalloc; /* the range string is malloc()'ed */
@@ -462,8 +463,8 @@ struct connectdata {
/* 'ip_addr_str' is the ip_addr data as a human readable malloc()ed string.
It remains available as long as the connection does, which is longer than
- the ip_addr itself. Currently, this is only set (and used) in
- url.c:verboseconnect(). */
+ the ip_addr itself. Set with Curl_store_ip_addr() when ip_addr has been
+ set. */
char *ip_addr_str;
char protostr[16]; /* store the protocol string in this buffer */