]> granicus.if.org Git - libevent/commit
bug fix for issues #293 evdns_base_load_hosts doesn't remove outdated adresses
authorKuldeep Gupta <kuldeepjec@gmail.com>
Fri, 6 Dec 2013 11:23:16 +0000 (16:53 +0530)
committerKuldeep Gupta <kuldeepjec@gmail.com>
Fri, 6 Dec 2013 11:23:16 +0000 (16:53 +0530)
commit954d2f94c047d2ecfd81e61f402096da9ab61f6e
tree703a7226cd7f5e89ace2d1c6bbdc1ce88fd74a0c
parentc11e7d919183e4a47324b6fd87e780059a8f1d58
bug fix for issues #293 evdns_base_load_hosts doesn't remove outdated adresses

As mentioned at https://sourceforge.net/p/levent/bugs/293/
 created a small function "evdns_base_flush_outdated_host_addresses" which removes all the previous requests of hosts , if user wants to clean up the list of hosts can call and use this function.
Requires function declaration to be added in include/event2/dns.h
 Adding it in another patch for the same bug.
evdns.c