aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cb_rea.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-11-24 23:42:54 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-11-25 00:10:23 +0100
commit030a2b8cb8c4f1d03af6f6e6a3aa3a5a1db5f5a7 (patch)
treefc567c20a0d359be2ba9f8e9a2dcc25fff07c722 /src/tool_cb_rea.c
parentedce855943d3654b259fbb5366fea4fbb40bc86f (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 'src/tool_cb_rea.c')
0 files changed, 0 insertions, 0 deletions