diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-19 10:24:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-19 10:24:35 +0100 |
commit | 1e9cdeef5f30b19eaeb30925d504521bec8dac70 (patch) | |
tree | d1942254bc06601de0797bc055875067b8629464 /lib/multi.c | |
parent | f451206266be6ee6c843fb3a1b3d1d676a6d56b8 (diff) | |
download | curl-bagder/transfer-data-conn.tar.gz |
transfer: remove conn->data usebagder/transfer-data-conn
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/multi.c b/lib/multi.c index 5d4d45073..57c2ae8c0 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1947,7 +1947,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, followtype follow = FOLLOW_NONE; CURLcode drc; - drc = Curl_retry_request(data->conn, &newurl); + drc = Curl_retry_request(data, &newurl); if(drc) { /* a failure here pretty much implies an out of memory */ result = drc; @@ -2154,7 +2154,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, * condition and the server closed the re-used connection exactly when * we wanted to use it, so figure out if that is indeed the case. */ - CURLcode ret = Curl_retry_request(data->conn, &newurl); + CURLcode ret = Curl_retry_request(data, &newurl); if(!ret) retry = (newurl)?TRUE:FALSE; else if(!result) @@ -2169,7 +2169,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, } else if((CURLE_HTTP2_STREAM == result) && Curl_h2_http_1_1_error(data->conn)) { - CURLcode ret = Curl_retry_request(data->conn, &newurl); + CURLcode ret = Curl_retry_request(data, &newurl); if(!ret) { infof(data, "Downgrades to HTTP/1.1!\n"); |