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,7 +902,8 @@ struct HttpClient {
} }
if(path_cache.count(uri)) { if(path_cache.count(uri)) {
return false; return false;
} else { }
if(config.multiply == 1) { if(config.multiply == 1) {
path_cache.insert(uri); path_cache.insert(uri);
} }
@ -913,7 +914,6 @@ struct HttpClient {
pri, level)); pri, level));
return true; return true;
} }
}
void record_handshake_time() void record_handshake_time()
{ {
stat.on_handshake_time = get_time(); stat.on_handshake_time = get_time();