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: curl-library Digest, Vol 188, Issue 3

From: Mac-Fly via curl-library <>
Date: Sat, 03 Apr 2021 05:45:51 +0200

Thank you for the information. Indeed: curl_version() shows the attachment. However, I am not using this method because the string is too long for the UI where I want to show it. thats why I use the curl_version_info_data struct instead to show the different dependencies and version line-by-line.

It maybe a small thing/change but would be consistent to the other libs that are also present in both: curl_version() and the version struct.

I'll try to compile a patch accordingly.


Date: Fri, 2 Apr 2021 13:40:37 -0400
From: Ray Satiro <>
Subject: Re: Requesting Version Info for GSASL
Message-ID: <>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 4/2/2021 3:44 AM, Mac-Fly via curl-library wrote:
> I don't know to reply properly to this list, so this is a reply to: Ray Satiro
>> There is features flag CURL_VERSION_GSASL [1]. The gsasl version
>> should be in the version information but the version number is not
>> available separately. What does curl_version() show?
> For me, on Windows, it doesn't show this flag, that why I was asking. Although I have to link against GSASL library now. So there definitely seems a dependency, which I want to transparently show in my applications using the lib.
> In gsasl.h, there is this line:
> #define GSASL_VERSION "1.10.0"
> ...which could be exposed to the curl version struct (curl_version_info_data) and wrapped inside
> #ifdef USE_GSASL
> ...just as it is the case for the other version information stuff like NGHTTP2 in the file version.c.
> Could be that I don't understand how to use it properly, but this seem missing from my (maybe limited) understanding.

To reply to the list you should reply to which
it seems you did.

If libcurl was built with GSASL then that flag should be present and the
GSASL version should show in the dependency version string. Check

Received on 2021-04-03