Make SessionHandle keep record if it is used with the multi interface or

the easy interface, it CANNOT be used by a mixture.
This commit is contained in:
Daniel Stenberg
2002-08-05 17:04:39 +00:00
parent b98308b524
commit 108cb14d1f
3 changed files with 11 additions and 0 deletions

View File

@@ -1156,6 +1156,8 @@ CURLcode Curl_perform(struct SessionHandle *data)
struct connectdata *conn=NULL;
char *newurl = NULL; /* possibly a new URL to follow to! */
data->state.used_interface = Curl_if_easy;
res = Curl_pretransfer(data);
if(res)
return res;