]> granicus.if.org Git - curl/commitdiff
multi: removed Curl_multi_set_easy_connection
authorDaniel Stenberg <daniel@haxx.se>
Mon, 10 Nov 2014 09:09:40 +0000 (10:09 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 10 Nov 2014 09:09:40 +0000 (10:09 +0100)
It isn't used anywhere!

Reported-by: Carlo Wood
lib/multi.c
lib/multiif.h

index 98d117d4512fe41b0ead15ff6e80f70ad34706fa..fddb4c510ba2672e536e3a7f59f738fc3caae4bb 100644 (file)
@@ -2515,12 +2515,6 @@ static int update_timer(struct Curl_multi *multi)
   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,
                            struct curl_llist *pipeline)
 {
index c77b3ca3bf8ee0485b74825ce9228d8a1fbeb856..19bdaf2a3c6d1897d019f11471f5c2cc18c75c11 100644 (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);
 #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);
 
 /* Return the value of the CURLMOPT_MAX_HOST_CONNECTIONS option */