Fixed DNS SRV response processing when SRV entries contain the same host (#3531)
This commit is contained in:
parent
f3a261345f
commit
27d522d91d
|
@ -385,7 +385,11 @@ static void build_server_entries(pj_dns_srv_async_query *query_job,
|
|||
++query_job->host_resolved;
|
||||
|
||||
++query_job->srv[j].addr_cnt;
|
||||
break;
|
||||
|
||||
/* Continue the loop as other SRV entries may contain
|
||||
* the same host.
|
||||
*/
|
||||
// break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue