Re: [PATCH dns cache 2/3] dnsproxy: Implement A and AAAA DNS record caching.

2011-07-05 Thread Marcel Holtmann
Hi Jukka, diff --git a/src/dnsproxy.c b/src/dnsproxy.c +struct cache_entry { + GHashTable *cache; why do you have a cache hast table inside the cache entry? Hmm, it seems not to be needed, I will remove it. I guessed something about a reverse hash table lookup, but could not find

[PATCH dns cache 2/3] dnsproxy: Implement A and AAAA DNS record caching.

2011-07-04 Thread Jukka Rissanen
--- src/dnsproxy.c | 412 ++- 1 files changed, 404 insertions(+), 8 deletions(-) diff --git a/src/dnsproxy.c b/src/dnsproxy.c index d03b734..a9bab01 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -90,6 +90,7 @@ struct server_data {

Re: [PATCH dns cache 2/3] dnsproxy: Implement A and AAAA DNS record caching.

2011-07-04 Thread Marcel Holtmann
Hi Jukka, diff --git a/src/dnsproxy.c b/src/dnsproxy.c index d03b734..a9bab01 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -90,6 +90,7 @@ struct server_data { gboolean enabled; gboolean connected; struct partial_reply *incoming_reply; + GHashTable *cache;