aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-04-01 08:24:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-04-01 08:24:23 +0000
commit6c6e4710b570eccdbae87fa9bd8df2f4940ac76d (patch)
tree09fbd6b8b0c96874d3ec123d467fee4b365f7355 /lib/urldata.h
parent5e7164f87a7b65a4790b3b3e080664dabc8d50a4 (diff)
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.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 2e13f6046..879f36902 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -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 */