RE: Feature request: extend CURLOPT_RESOLVE to allow adding non-permanent DNS cache entries

2020-11-23 Thread Groke, Paul via curl-library
On Sat, 21 Nov 2020, Daniel Stenberg wrote: > > Are you OK with the simple "+" version? > > Absolutely. Cool. Then we'll make a PR once we're done. Thanks, Paul The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you ar

RE: Feature request: extend CURLOPT_RESOLVE to allow adding non-permanent DNS cache entries

2020-11-21 Thread Daniel Stenberg via curl-library
On Thu, 19 Nov 2020, Groke, Paul wrote: Are you OK with the simple "+" version? Absolutely. -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ --

RE: Feature request: extend CURLOPT_RESOLVE to allow adding non-permanent DNS cache entries

2020-11-19 Thread Groke, Paul via curl-library
> On Wed, 18 Nov 2020, Tomalak Geret'kal wrote: > Personally, I'd go with: > > host:port: > -host:port: > and the new > +host:port: > > Though either kind of entry can ultimately be removed with "-", an explicit > "+" feels like an action ("add this mapping to the expireable cache"), >

Re: Feature request: extend CURLOPT_RESOLVE to allow adding non-permanent DNS cache entries

2020-11-18 Thread Tomalak Geret'kal via curl-library
On 18/11/2020 15:05, Groke, Paul via curl-library wrote: > On Wed, 18 Nov 2020, Daniel Stenberg wrote: > >> Exactly how to extend the format can of course be further discussed. I think >> I would prefer a slighly more descriptive text, like perhaps ":temp" - and >> we could then introduce that ex

RE: Feature request: extend CURLOPT_RESOLVE to allow adding non-permanent DNS cache entries

2020-11-18 Thread Groke, Paul via curl-library
On Wed, 18 Nov 2020, Daniel Stenberg wrote: > Exactly how to extend the format can of course be further discussed. I think > I would prefer a slighly more descriptive text, like perhaps ":temp" - and we > could then introduce that extra field for further instructions if we want to > later on. >

Re: Feature request: extend CURLOPT_RESOLVE to allow adding non-permanent DNS cache entries

2020-11-18 Thread Daniel Stenberg via curl-library
On Wed, 18 Nov 2020, Groke, Paul via curl-library wrote: I want to propose to add a feature by which libcurl users can pre-populate DNS cache entries that will expire just like those added by libcurl itself. I would suggest adding an additional recognized prefix for the CURLOPT_RESOLVE string

Feature request: extend CURLOPT_RESOLVE to allow adding non-permanent DNS cache entries

2020-11-18 Thread Groke, Paul via curl-library
Hi, I want to propose to add a feature by which libcurl users can pre-populate DNS cache entries that will expire just like those added by libcurl itself. (We want to start using a shared DNS cache, and having the entries added by CURLOPT_RESOLVE remain in the shared cache forever could cause tr