curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: [RELEASE] curl 7.65.0

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 22 May 2019 14:21:06 +0200 (CEST)

On Wed, 22 May 2019, Marcel Raad wrote:

> I agree. My HTTP-only OpenSSL autobuild (
> https://curl.haxx.se/dev/log.cgi?id=20190522044629-2216) is also broken
> because of " curl: (48) An unknown option was passed in to libcurl", but I
> haven't had time to take a closer look yet.

I suspect one of these options --disable-proxy, --disable-crypto-auth and
--disable-cookies is what makes curl set an option that now returns an error
instead of being silently accepted and ignored.

If you want a blunt tool to figure out which option curl sets that libcurl
doesn't like, here's a debug patch to get you started:

index 745b4546e..e1a10efe9 100644
--- a/src/tool_setopt.c
+++ b/src/tool_setopt.c
@@ -630,10 +630,11 @@ CURLcode tool_setopt(CURL *curl, bool str, struct
GlobalConfig *config,
    char *escaped = NULL;
    CURLcode ret = CURLE_OK;

    va_start(arg, tag);

+ fprintf(stderr, "OPT: %s\n", name);
    if(tag < CURLOPTTYPE_OBJECTPOINT) {
      /* Value is expected to be a long */
      long lval = va_arg(arg, long);
      long defval = 0L;
      const NameValue *nv = NULL;

-- 
  / daniel.haxx.se | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-05-22