initial support for "uploading" to file:// URLs

This commit is contained in:
Daniel Stenberg
2004-05-25 21:47:29 +00:00
parent 765754d39d
commit fd802db39f
10 changed files with 177 additions and 29 deletions

View File

@@ -2711,7 +2711,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
conn->protocol |= PROT_FILE;
conn->curl_do = Curl_file;
/* no done() function */
conn->curl_done = Curl_file_done;
/* anyway, this is supposed to be the connect function so we better
at least check that the file is present here! */