Closed ZACKhdn closed 1 year ago
@ZACKhdn Thanks for reporting. Please stick to the issue template for the next time. Else I will just close your issues.
I can confirm this issue and will look into it.
I created a fix for it here: https://github.com/libcpr/cpr/pull/922
Could you please validate that it fixes your issues?
I created a fix for it here: #922
Could you please validate that it fixes your issues?
Yes, it works properly. I have already modified and used it like this. I found a macro "__LIBCURL_VERSION_GTE" in ssl_options.h, perhaps you can consider using this macro.
Good point! Simplified it even further by using the hex version number.
__LIBCURL_VERSION_GTE
and __LIBCURL_VERSION_LTE
will be replaced at one point with this way of comparing versions as well.
Good point! Simplified it even further by using the hex version number.
__LIBCURL_VERSION_GTE
and__LIBCURL_VERSION_LTE
will be replaced at one point with this way of comparing versions as well.
OK,thank you for your work.
Description
If I use libcurl v8.1.2,the gzip cannot work. In session.cpp, I found the following content:
Maybe this part needs to be revised