nghttp: Code cleanup

This commit is contained in:
Tatsuhiro Tsujikawa 2014-06-12 22:48:40 +09:00
parent 1af9a9cee0
commit 1ee847c21a
1 changed files with 10 additions and 10 deletions

View File

@ -902,17 +902,17 @@ struct HttpClient {
}
if(path_cache.count(uri)) {
return false;
} else {
if(config.multiply == 1) {
path_cache.insert(uri);
}
reqvec.push_back(util::make_unique<Request>(uri, u, data_prd,
data_length,
pri_spec, std::move(dep),
pri, level));
return true;
}
if(config.multiply == 1) {
path_cache.insert(uri);
}
reqvec.push_back(util::make_unique<Request>(uri, u, data_prd,
data_length,
pri_spec, std::move(dep),
pri, level));
return true;
}
void record_handshake_time()
{