commit | dd16182b4b3f107d5c26015622c1cb8c06619ad7 | [log] [tgz] |
---|---|---|
author | Anders Fredlund <anders.fredlund@sonyericsson.com> | Fri May 20 08:12:37 2011 +0200 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Fri May 20 08:12:37 2011 +0200 |
tree | f63aecec0f28085d3226e0b08e07934be9e12d74 | |
parent | a7a9dddb5dfe783d65fec4d3b0dee9f734345a29 [diff] |
Remove expired dns cache entries before removing oldest A suggestion how to make a smarter delete function when the cache is full. First look through the entire cache and remove all entries which have expired. If none use the old solution and just remove the last entry in the MRU list. Change-Id: I5f997ab35290a55dc6e1ddf37d725759edf83d36