]> granicus.if.org Git - libevent/commit
bug fix for issues #293 evdns_base_load_hosts doesn't remove outdated addresses
authorKuldeep Gupta <kuldeepjec@gmail.com>
Fri, 6 Dec 2013 11:36:20 +0000 (17:06 +0530)
committerKuldeep Gupta <kuldeepjec@gmail.com>
Fri, 6 Dec 2013 11:36:20 +0000 (17:06 +0530)
commitf03d3535afad5b450f141148b0d1534d7c86bfe9
tree15407d184ccb6151dcd469148a0bb7ac71d2db9f
parent954d2f94c047d2ecfd81e61f402096da9ab61f6e
bug fix for issues #293 evdns_base_load_hosts doesn't remove outdated addresses

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 host addresses, if user wants to clean up the list of hosts can call and use this function.
Defination of this function is part of another patch.
include/event2/dns.h