/* Performs connection upkeep for the given session handle.  */
CURLcode curl_easy_upkeep(struct Curl_easy *data)
/* Performs connection upkeep for the given session handle.  */
CURLcode curl_easy_upkeep(struct Curl_easy *data)
{
  if(!GOOD_EASY_HANDLE(data))
    return CURLE_BAD_FUNCTION_ARGUMENT;
  if(data->multi_easy) {
    return Curl_upkeep(&data->multi_easy->conn_cache, data);
  }
  else {
    return CURLE_OK;
  }
}