mirror of
https://github.com/curl/curl.git
synced 2026-08-02 21:30:28 +03:00
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:
parent
b98308b524
commit
108cb14d1f
3 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue