mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:23:32 +03:00
Robert Iakobashvili made curl_multi_remove_handle() a lot faster when many
easy handles are added to a multi handle, by avoiding the looping over all the handles to find which one to remove.
This commit is contained in:
parent
5e7164f87a
commit
6c6e4710b5
3 changed files with 15 additions and 7 deletions
|
|
@ -1342,6 +1342,9 @@ struct SessionHandle {
|
|||
struct Names dns;
|
||||
struct Curl_multi *multi; /* if non-NULL, points to the multi handle
|
||||
struct to which this "belongs" */
|
||||
struct Curl_one_easy *multi_pos; /* if non-NULL, points to the its position
|
||||
in multi controlling structure to assist
|
||||
in removal. */
|
||||
struct Curl_share *share; /* Share, handles global variable mutexing */
|
||||
struct HandleData reqdata; /* Request-specific data */
|
||||
struct UserDefined set; /* values set by the libcurl user */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue