diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-12-31 10:28:10 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-12-31 10:45:27 +0100 |
commit | 5e0a44e4d58855a52b6e0744df4fab09ded3873c (patch) | |
tree | 92712f9fcec6f6ad95e4f139c35adedd25c1ae98 /lib/cookie.h | |
parent | 9e3f8c48501920c2c944f7a6eb447849500a3033 (diff) |
CURLOPT_RESOLVE: avoid adding already present host names
The load host names to DNS cache function was moved to hostip.c and it
now makes sure to not add host names that already are present in the
cache. It would previously lead to memory leaks when for example using
the --resolve and multiple URLs on the command line.
Diffstat (limited to 'lib/cookie.h')
0 files changed, 0 insertions, 0 deletions