commit | a59cfcfd0821f51ee77f13105099f700ccbf9252 | [log] [tgz] |
---|---|---|
author | Mattias Falk <mattias.falk@sonyericsson.com> | Tue Sep 06 15:15:06 2011 +0200 |
committer | Bjorn Andersson <bjorn.andersson@sonymobile.com> | Mon May 07 18:04:25 2012 -0700 |
tree | d7ffc93dc89f31b9a50d6eba201fbfaac9befb9d | |
parent | e3bc7192ec4254bed00eb8b352735665c6072995 [diff] |
Avoid multiple dns lookups for the same query If two or more rapid dns requests for the same server are done from different threads it turns into separate dns reques, if the response of the request isn't found in the cache. This patch avoid multiple request for the same server by letting subsequents request wait until the first request has finished. Change-Id: Ic72ea0e7d3964a4164eddf866feb4357ec4dfe54