1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

multi: removed Curl_multi_set_easy_connection

It isn't used anywhere!

Reported-by: Carlo Wood
This commit is contained in:
Daniel Stenberg 2014-11-10 10:09:40 +01:00
parent dd469eec40
commit f64dbb08c2
2 changed files with 0 additions and 10 deletions

View File

@ -2515,12 +2515,6 @@ static int update_timer(struct Curl_multi *multi)
return multi->timer_cb((CURLM*)multi, timeout_ms, multi->timer_userp); return multi->timer_cb((CURLM*)multi, timeout_ms, multi->timer_userp);
} }
void Curl_multi_set_easy_connection(struct SessionHandle *handle,
struct connectdata *conn)
{
handle->easy_conn = conn;
}
static bool isHandleAtHead(struct SessionHandle *handle, static bool isHandleAtHead(struct SessionHandle *handle,
struct curl_llist *pipeline) struct curl_llist *pipeline)
{ {

View File

@ -55,10 +55,6 @@ struct Curl_multi *Curl_multi_handle(int hashsize, int chashsize);
void Curl_multi_dump(const struct Curl_multi *multi_handle); void Curl_multi_dump(const struct Curl_multi *multi_handle);
#endif #endif
/* Update the current connection of a One_Easy handle */
void Curl_multi_set_easy_connection(struct SessionHandle *handle,
struct connectdata *conn);
void Curl_multi_process_pending_handles(struct Curl_multi *multi); void Curl_multi_process_pending_handles(struct Curl_multi *multi);
/* Return the value of the CURLMOPT_MAX_HOST_CONNECTIONS option */ /* Return the value of the CURLMOPT_MAX_HOST_CONNECTIONS option */