mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:11:42 +03:00
file:// fix that prevents name lookup and sets no-upload and no-download
This commit is contained in:
parent
74be53a577
commit
0a2f677374
1 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue