mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
file:// fix that prevents name lookup and sets no-upload and no-download
This commit is contained in:
parent
74be53a577
commit
0a2f677374
@ -1018,6 +1018,11 @@ CURLcode curl_connect(CURL *curl, CURLconnect **in_connect)
|
|||||||
|
|
||||||
conn->curl_do = file;
|
conn->curl_do = file;
|
||||||
/* no done() function */
|
/* no done() function */
|
||||||
|
|
||||||
|
result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */
|
||||||
|
-1, NULL); /* no upload */
|
||||||
|
|
||||||
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user