aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-22 22:31:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-22 22:31:24 +0000
commit0ffec4272ad7da91ca6b3e97d60c82ba517c4614 (patch)
treec57e161d15e8572d2b02ffc6c29d60e7c40d458b /lib/urldata.h
parentea4cd4d8aa648ee634ea994c93c2a2264fee3417 (diff)
the missing part of Gisle Vanem's connect-timeout fix for win32
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 899e154f6..401136874 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -376,13 +376,14 @@ struct Curl_transfer_keeper {
bool ignorebody; /* we read a response-body but we ignore it! */
};
-#ifdef USE_ARES
+#if defined(USE_ARES) || defined(USE_THREADING_GETHOSTBYNAME)
struct Curl_async {
char *hostname;
int port;
struct Curl_dns_entry *dns;
bool done; /* set TRUE when the lookup is complete */
int status; /* if done is TRUE, this is the status from the callback */
+ void *os_specific; /* 'struct thread_data' for Windows */
};
#endif
@@ -566,7 +567,7 @@ struct connectdata {
int sockerror; /* errno stored by Curl_read() if the underlying layer returns
error */
-#ifdef USE_ARES
+#if defined(USE_ARES) || defined(USE_THREADING_GETHOSTBYNAME)
/* data used for the asynch name resolve callback */
struct Curl_async async;
#endif