On Tue, Aug 09, 2016 at 12:13:02PM +0200, Daniel Stenberg wrote:
> On Tue, 9 Aug 2016, Dan Fandrich wrote:
> 
> >I wouldn't mind seeing CURL_STRICTER set automatically whenever
> >CURL_NO_OLDIES is set. The latter is used by people to ensure that their
> >code is forward-compatible with libcurl and the CURL_STRICTER changes
> >really fall into the same bucket.
> 
> I agree, I think that is totally sensible. Maybe just like this:
> 
> --- a/include/curl/curl.h
> +++ b/include/curl/curl.h
> @@ -28,10 +28,14 @@
>   *
>   * curl-library mailing list subscription and unsubscription web interface:
>   *   https://cool.haxx.se/mailman/listinfo/curl-library/
>   */
> 
> +#ifdef CURL_NO_OLDIES
> +#define CURL_STRICTER
> +#endif
> +
> 

Looks fine to me. The down side of being unable to enable CURL_NO_OLDIES but
not CURL_STRICTER seems unimportant given that any application could be fixed
to work with CURL_STRICTER.

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to