Commit 0a2f6773 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 74be53a5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 {