diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-11-24 23:42:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-11-25 00:10:23 +0100 |
commit | 030a2b8cb8c4f1d03af6f6e6a3aa3a5a1db5f5a7 (patch) | |
tree | fc567c20a0d359be2ba9f8e9a2dcc25fff07c722 /tests/data/test508 | |
parent | edce855943d3654b259fbb5366fea4fbb40bc86f (diff) |
hostip: don't prune DNS cache entries that are in use
When adding entries to the DNS cache with CURLOPT_RESOLVE, they are
marked 'inuse' forever to prevent them from ever being removed in normal
operations. Still, the code that pruned out-of-date DNS entries didn't
care for the 'inuse' struct field and pruned it anyway!
Reported-by: Romulo A. Ceccon
Bug: http://curl.haxx.se/bug/view.cgi?id=1303
Diffstat (limited to 'tests/data/test508')
0 files changed, 0 insertions, 0 deletions