Lines Matching refs:conn_candidate
2942 struct connectdata *conn_candidate = NULL; in find_oldest_idle_connection() local
2965 conn_candidate = conn; in find_oldest_idle_connection()
2974 return conn_candidate; in find_oldest_idle_connection()
2992 struct connectdata *conn_candidate = NULL; in find_oldest_idle_connection_in_bundle() local
3009 conn_candidate = conn; in find_oldest_idle_connection_in_bundle()
3015 return conn_candidate; in find_oldest_idle_connection_in_bundle()
3428 struct connectdata *conn_candidate = NULL; in ConnectionDone() local
3437 conn_candidate = find_oldest_idle_connection(data); in ConnectionDone()
3439 if(conn_candidate) { in ConnectionDone()
3441 conn_candidate->data = data; in ConnectionDone()
3444 (void)Curl_disconnect(conn_candidate, /* dead_connection */ FALSE); in ConnectionDone()
3448 return (conn_candidate == conn) ? FALSE : TRUE; in ConnectionDone()
5758 struct connectdata *conn_candidate; in create_conn() local
5761 conn_candidate = find_oldest_idle_connection_in_bundle(data, bundle); in create_conn()
5763 if(conn_candidate) { in create_conn()
5765 conn_candidate->data = data; in create_conn()
5766 (void)Curl_disconnect(conn_candidate, /* dead_connection */ FALSE); in create_conn()
5778 struct connectdata *conn_candidate; in create_conn() local
5781 conn_candidate = find_oldest_idle_connection(data); in create_conn()
5783 if(conn_candidate) { in create_conn()
5785 conn_candidate->data = data; in create_conn()
5786 (void)Curl_disconnect(conn_candidate, /* dead_connection */ FALSE); in create_conn()