aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-11-10 10:09:40 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-11-10 10:09:40 +0100
commitf64dbb08c2cd6bcf4f39ca2e75edbfc8cc3116e1 (patch)
tree8bd3288fb98ce5788ce663472b2840bdfacd4236 /lib
parentdd469eec407d0fac7cd16b2899fa7a3da85b9460 (diff)
multi: removed Curl_multi_set_easy_connection
It isn't used anywhere! Reported-by: Carlo Wood
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c6
-rw-r--r--lib/multiif.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 98d117d45..fddb4c510 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -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)
{
diff --git a/lib/multiif.h b/lib/multiif.h
index c77b3ca3b..19bdaf2a3 100644
--- a/lib/multiif.h
+++ b/lib/multiif.h
@@ -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 */