Dear Dan, thanks for asking. Yes - its for better representation in an UI where the long string that curl_version() returns is not well suited. (Imagine a list/table together with other libs.) I could RexEx this string though. But as the other libs are available in the version struct I thought nghttp2 might just have been missed.
Best regards, Morten. ----- Original Message ----- From: Dan Fandrich via curl-library <curl-library@cool.haxx.se> To: curl-library@cool.haxx.se Cc: Dan Fandrich <d...@coneharvesters.com> Date: Wed, 17 Jul 2019 13:41:35 +0200 Subject: Re: Request: Make HTTP2 library version available via API > On Wed, Jul 17, 2019 at 12:56:36PM +0200, Mac-Fly via curl-library wrote: > I wonder if it is possible to get access to the libnghttp2 version used > via curl_version_info_data. Similar to ssl_version, libz_version and > alike. Since its a major component in CURL as well, it seems useful. > > Rationale: I would like to show in my application all 3rd party > libraries used and their versions. For now, I've to manually include the > respective nghttp2 header file but using the "proper" CURL way would be > more intuitive and reduces header-file dependency. All the important libraries and their versions are already included in curl_version(). Do you just want better control? ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html