disconnect: separate connections and easy handles better 29/260829/1
authorDaniel Stenberg <daniel@haxx.se>
Thu, 19 Dec 2019 08:56:40 +0000 (14:26 +0530)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 5 Jul 2021 09:45:50 +0000 (18:45 +0900)
commit3bfb7ee301eb509ccc4762ab3209f39fc397d36f
tree628c26d192ee16103d82f16c6ddadb0bc434e68a
parent232508f8d827eae7ee75f27acec2c4358f19efe9
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.

Backported patch details:
https://github.com/curl/curl/pull/3400/commits/fb445a1e18d12f577964c9347bc5bca74b37cd08

Change-Id: I18aa2cb7097b8598c90ddf8c8c68a9fecd86e295
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
lib/conncache.c
lib/conncache.h
lib/multi.c
lib/url.c