remove curl_getinfo