性能优化

This commit is contained in:
xiongziliang
2019-12-28 13:39:25 +08:00
parent 71631a33c4
commit 20d56b713f
3 changed files with 12 additions and 13 deletions

View File

@@ -250,7 +250,7 @@ static C get_http_header( const char *response_header[]){
auto value = response_header[i + 1];
if (key && value) {
i += 2;
header[key] = value;
header.emplace(key,value);
continue;
}
break;

View File

@@ -88,7 +88,7 @@ static C get_http_header( const char *response_header[]){
auto value = response_header[i + 1];
if (key && value) {
i += 2;
header[key] = value;
header.emplace(key,value);
continue;
}
break;