[Tarantool-patches] [PATCH] Ensure all curl symbols are exported

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Aug 12 23:10:13 MSK 2020


On 12.08.2020 14:59, Yaroslav Dynnikov wrote:
> Hi, Vlad.
> 
> Number 7 is the libcurl age. According to the documentation, age should be set to the version of this functionality by the time you write your program. This way, libcurl will always return a proper struct that your program understands, while programs in the future might get a different struct. See https://curl.haxx.se/libcurl/c/curl_version_info.html
> 
> So it's safe enough to rely on the structure. And I think both checkes (libssl and libz) are important enough to be tracked by tests. We don't want them to be silently gone, do we?

Still the test is overcomplicated, I think. But at least it should be stable, if
with the same age number all curl versions will return the same curl_version_info_data.

LGTM.


More information about the Tarantool-patches mailing list