mirror of
https://github.com/curl/curl.git
synced 2026-04-18 22:41:42 +03:00
WaitForSingleObject() uses a millisecond timeout and CURL_TIMEOUT_RESOLVE is
counted in seconds...
This commit is contained in:
parent
826bbfc01c
commit
d7616d8a0a
1 changed files with 1 additions and 1 deletions
|
|
@ -595,7 +595,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
|
|||
timeout =
|
||||
conn->data->set.connecttimeout ? conn->data->set.connecttimeout :
|
||||
conn->data->set.timeout ? conn->data->set.timeout :
|
||||
CURL_TIMEOUT_RESOLVE; /* default name resolve timeout */
|
||||
CURL_TIMEOUT_RESOLVE * 1000; /* default name resolve timeout */
|
||||
ticks = GetTickCount();
|
||||
|
||||
/* wait for the thread to resolve the name */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue