]> granicus.if.org Git - curl/commit
disconnect: separate connections and easy handles better
authorDaniel Stenberg <daniel@haxx.se>
Thu, 20 Dec 2018 15:39:02 +0000 (16:39 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 22 Dec 2018 17:14:50 +0000 (18:14 +0100)
commitfb445a1e18d12f577964c9347bc5bca74b37cd08
treef4f9b2971a2c4b2d41f05bbf58508f8ae22100f7
parentd18a5afaf07fdc093c6a6131cc7926a3d5a55407
disconnect: separate connections and easy handles better

Do not assume/store assocation between a given easy handle and the
connection if it can be avoided.

Long-term, the 'conn->data' pointer should probably be removed as it is a
little too error-prone. Still used very widely though.

Reported-by: masbug on github
Fixes #3391
Closes #3400
lib/conncache.c
lib/conncache.h
lib/multi.c
lib/url.c