diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-05-28 08:23:43 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-28 12:17:02 +0200 |
commit | 8581e1928ea8e125021408ec071fcedb0276c7fe (patch) | |
tree | c97f0418a6a97458f252f058bcb62b21592404eb /lib/curl_gethostname.h | |
parent | 28526e9c80f7c923fac0aef503c7a63d84994282 (diff) |
multi: track users of a socket better
They need to be removed from the socket hash linked list with more care.
When sh_delentry() is called to remove a sockethash entry, remove all
individual transfers from the list first. To enable this, each Curl_easy struct
now stores a pointer to the sockethash entry to know how to remove itself.
Reported-by: Tom van der Woerdt and Kunal Ekawde
Fixes #3952
Fixes #3904
Closes #3953
Diffstat (limited to 'lib/curl_gethostname.h')
0 files changed, 0 insertions, 0 deletions