Merge pull request #167 from srdgame/master

CURLINFO_EFFECTIVE_METHOD is added in 7.72.0
This commit is contained in:
Alexey Melnichuk 2021-01-29 12:08:25 +03:00 committed by GitHub
commit d27a1d3d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,9 @@ OPT_ENTRY(total_time_t, TOTAL_TIME_T, OFF, 0)
#if LCURL_CURL_VER_GE(7,66,0) #if LCURL_CURL_VER_GE(7,66,0)
OPT_ENTRY(retry_after, RETRY_AFTER, OFF, 0) OPT_ENTRY(retry_after, RETRY_AFTER, OFF, 0)
#endif
#if LCURL_CURL_VER_GE(7,72,0)
OPT_ENTRY(effective_method, EFFECTIVE_METHOD, STR, 0) OPT_ENTRY(effective_method, EFFECTIVE_METHOD, STR, 0)
#endif #endif