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
---
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 {
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;