nghttpx: Use AI_NUMERICSERV

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-16 23:06:17 +09:00
parent 96218a1078
commit af4e262d47
1 changed files with 1 additions and 1 deletions

View File

@ -2891,7 +2891,7 @@ int configure_downstream_group(Config *config, bool http2_proxy,
LOG(INFO) << "Catch-all pattern is group " << catch_all_group;
}
auto resolve_flags = numeric_addr_only ? AI_NUMERICHOST : 0;
auto resolve_flags = numeric_addr_only ? AI_NUMERICHOST | AI_NUMERICSERV : 0;
for (auto &g : addr_groups) {
for (auto &addr : g.addrs) {