diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-06-22 00:13:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-06-22 00:13:29 +0200 |
commit | fa912042be37bf0af0bac9031e8d4c200196c3a8 (patch) | |
tree | 999e942f4c37a094c0b1c0d76f4421b57cdcd404 | |
parent | 59b284b6ebdda679e9fa6bb549015f994f4e79c8 (diff) | |
download | curl-bagder/connection-exists-data.tar.gz |
ConnectionExists: make sure conn->data is set when "taking" a connectionbagder/connection-exists-data
Follow-up to 2c15693.
Fixes #2674
-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! */ |