ClientMediaDownloader::ClientMediaDownloader():
m_media_cache(getMediaCacheDir()),
- m_initial_step_done(false),
- m_uncached_count(0),
- m_uncached_received_count(0),
- m_name_bound("")
+ m_httpfetch_caller(HTTPFETCH_DISCARD)
{
- m_httpfetch_caller = HTTPFETCH_DISCARD;
- m_httpfetch_active = 0;
- m_httpfetch_active_limit = 0;
- m_httpfetch_next_id = 0;
- m_httpfetch_timeout = 0;
- m_outstanding_hash_sets = 0;
}
ClientMediaDownloader::~ClientMediaDownloader()
std::string name;
{
- std::map<unsigned long, std::string>::iterator it =
+ std::unordered_map<unsigned long, std::string>::iterator it =
m_remote_file_transfers.find(fetch_result.request_id);
assert(it != m_remote_file_transfers.end());
name = it->second;