disconnect: separate connections and easy handles better 76/220576/1
authorDaniel Stenberg <daniel@haxx.se>
Thu, 19 Dec 2019 08:56:40 +0000 (14:26 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 19 Dec 2019 08:56:40 +0000 (14:26 +0530)
commit20393b8dd577eef69d932afc75ec67582bda2c47
tree13bbf5243e51b4f4d13b6f680d74547808ac2e13
parent1d7ea7379264018ababc4b811d1fcf8bd12502f1
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