summaryrefslogtreecommitdiff
path: root/docs/examples/href_extractor.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-12-11 22:49:11 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-12-11 23:31:17 +0100
commit4deb52831a071bc83cefb4871764281a5c32f902 (patch)
tree1c58ceb3acad0a221989ee897967629f3e4f2fa8 /docs/examples/href_extractor.c
parent6fc16fe4047c72eeb280f935d88e789397381ab2 (diff)
downloadcurl-4deb52831a071bc83cefb4871764281a5c32f902.tar.gz
Curl_getconnectinfo: fixed to work with always-multi
To make sure CURLINFO_LASTSOCKET works and curl_easy_recv() etc when the connection cache is now always in the multi handle that the easy handle doesn't have a strong connection to anymore, the code now searches for the last used connection in the last used multi handle to see if it is still there and then gets the socket from there. This makes CURLINFO_LASTSOCKET only work if curl_easy_perform() has been used on an easy handle, but that was always how the feature was documented. As a result of this restructure, I've created multihandle.h which now has the multi handle struct and related stuff defined so that more files than multi.c can use it.
Diffstat (limited to 'docs/examples/href_extractor.c')
0 files changed, 0 insertions, 0 deletions