dnsproxy: Check cache for TCP request before connecting to server
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 20 Jun 2012 10:38:40 +0000 (13:38 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 20 Jun 2012 11:11:46 +0000 (14:11 +0300)
commitbad3ab10907e1bf5f0c7af4b4ef2c376bdfa940b
tree08bfef269bfb1cca4d8964ca398b363482e97777
parent1055cd4d6e435cf32c0597518129b6ec48d9c844
dnsproxy: Check cache for TCP request before connecting to server

It is not necessary to create TCP sockets to server if we have
the answer already in the cache.
src/dnsproxy.c