diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-07-01 23:32:20 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-07-01 23:32:20 +0200 |
commit | 9be951a41503cd212d035496a003924f00b7aa06 (patch) | |
tree | aaede2f1f0fabc3652bf9062a1f51850be8bbe7e /tests/data/test1037 | |
parent | 7239538d9acf5b6743181514814dc750b73096a8 (diff) |
multi: CURLINFO_LASTSOCKET doesn't work after remove_handle
When curl_multi_remove_handle() is called and an easy handle is returned
to the connection cache held in the multi handle, then we cannot allow
CURLINFO_LASTSOCKET to extract it since that will more or less encourage
that the user uses the socket while it can get used by libcurl again.
Without this fix, we'd get a segfault in Curl_getconnectinfo() trying to
dereference the NULL pointer in 'data->state.connc'.
Bug: http://curl.haxx.se/bug/view.cgi?id=3023840
Diffstat (limited to 'tests/data/test1037')
0 files changed, 0 insertions, 0 deletions