]> granicus.if.org Git - curl/commit
conncache: use conn->data to know if a transfer owns it
authorDaniel Stenberg <daniel@haxx.se>
Sat, 16 Mar 2019 23:49:21 +0000 (00:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 17 Mar 2019 17:07:20 +0000 (18:07 +0100)
commite3a53e3efb942a5446a22725340e36af63f1632e
tree0797952e8cbc6762a980061f04943d042ac7ae71
parent76cc14ba43a5df551d67f3a9ea012059aea67a39
conncache: use conn->data to know if a transfer owns it

- make sure an already "owned" connection isn't returned unless
  multiplexed.

- clear ->data when returning the connection to the cache again

Regression since 7.62.0 (probably in commit 1b76c38904f0)

Bug: https://curl.haxx.se/mail/lib-2019-03/0064.html

Closes #3686
lib/conncache.c
lib/url.c