/* We are doing protocol-specific connecting and this is being called over and over from the multi interface until the connection phase is done on protocol layer.  */
CURLcode Curl_protocol_connecting(struct connectdata *conn, bool *done)
/* We are doing protocol-specific connecting and this is being called over and over from the multi interface until the connection phase is done on protocol layer.  */
CURLcode Curl_protocol_connecting(struct connectdata *conn, bool *done)
{
  CURLcode result = CURLE_OK;
  if(conn && conn->handler->connecting) {
    *done = FALSE;
    result = conn->handler->connecting(conn, done);
  }
  else
    *done = TRUE;
  return result;
}