diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-06-22 00:13:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-06-22 17:00:22 +0200 |
commit | 146178a9df83de1cfc345771b4c6eceb21ea700e (patch) | |
tree | 418e0117441fd7496b5fa2fb83976b1978cca14b | |
parent | bc5a0b3e9f16a431523ae54822adc38c3a396a26 (diff) |
ConnectionExists: make sure conn->data is set when "taking" a connection
Follow-up to 2c15693.
Bug #2674
Closes #2675
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1465,6 +1465,7 @@ ConnectionExists(struct Curl_easy *data, if(chosen) { /* mark it as used before releasing the lock */ chosen->inuse = TRUE; + chosen->data = data; /* own it! */ Curl_conncache_unlock(needle); *usethis = chosen; return TRUE; /* yes, we found one to use! */ |