file:// fix that prevents name lookup and sets no-upload and no-download

This commit is contained in:
Daniel Stenberg 2000-09-14 10:41:07 +00:00
parent 74be53a577
commit 0a2f677374
1 changed files with 5 additions and 0 deletions

View File

@ -1018,6 +1018,11 @@ CURLcode curl_connect(CURL *curl, CURLconnect **in_connect)
conn->curl_do = file;
/* no done() function */
result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */
-1, NULL); /* no upload */
return CURLE_OK;
}
else {