mirror of
https://github.com/curl/curl.git
synced 2026-08-24 18:23:33 +03:00
hostip: cache negative name resolves
Hold them for half the normal lifetime. Helps when told to transfer N URLs in quick succession that all use the same non-resolving hostname. Done by storing a DNS entry with a NULL pointer for 'addr'. Previously an attempt was made in #12406 by Björn Stenberg that was ultimately never merged. Closes #18157
This commit is contained in:
parent
06c12cc08b
commit
df2b4ccc22
11 changed files with 155 additions and 19 deletions
|
|
@ -24,7 +24,6 @@
|
|||
1.5 get rid of PATH_MAX
|
||||
1.6 thread-safe sharing
|
||||
1.8 CURLOPT_RESOLVE for any port number
|
||||
1.9 Cache negative name resolves
|
||||
1.10 auto-detect proxy
|
||||
1.11 minimize dependencies with dynamically loaded modules
|
||||
1.12 updated DNS server while running
|
||||
|
|
@ -263,11 +262,6 @@
|
|||
|
||||
See https://github.com/curl/curl/issues/1264
|
||||
|
||||
1.9 Cache negative name resolves
|
||||
|
||||
A name resolve that has failed is likely to fail when made again within a
|
||||
short period of time. Currently we only cache positive responses.
|
||||
|
||||
1.10 auto-detect proxy
|
||||
|
||||
libcurl could be made to detect the system proxy setup automatically and use
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue