Lines Matching refs:oldest_idle
305 struct connectdata *oldest_idle = NULL; in Curl_cpool_check_limits() local
308 oldest_idle = cpool_bundle_get_oldest_idle(bundle); in Curl_cpool_check_limits()
309 if(!oldest_idle) in Curl_cpool_check_limits()
314 "limit of %zu", oldest_idle->connection_id, in Curl_cpool_check_limits()
316 Curl_cpool_disconnect(data, oldest_idle, FALSE); in Curl_cpool_check_limits()
329 struct connectdata *oldest_idle = cpool_get_oldest_idle(cpool); in Curl_cpool_check_limits() local
330 if(!oldest_idle) in Curl_cpool_check_limits()
336 oldest_idle->connection_id, cpool->num_conn, total_limit)); in Curl_cpool_check_limits()
337 Curl_cpool_disconnect(data, oldest_idle, FALSE); in Curl_cpool_check_limits()
483 struct connectdata *oldest_idle = NULL; in Curl_cpool_conn_now_idle() local
496 oldest_idle = cpool_get_oldest_idle(cpool); in Curl_cpool_conn_now_idle()
497 kept = (oldest_idle != conn); in Curl_cpool_conn_now_idle()
498 if(oldest_idle) { in Curl_cpool_conn_now_idle()
499 Curl_cpool_disconnect(cpool->idata, oldest_idle, FALSE); in Curl_cpool_conn_now_idle()
520 struct connectdata *oldest_idle = NULL; in cpool_bundle_get_oldest_idle() local
534 oldest_idle = conn; in cpool_bundle_get_oldest_idle()
539 return oldest_idle; in cpool_bundle_get_oldest_idle()
547 struct connectdata *oldest_idle = NULL; in cpool_get_oldest_idle() local
570 oldest_idle = conn; in cpool_get_oldest_idle()
574 return oldest_idle; in cpool_get_oldest_idle()