From bcfc67f765a4ead9e6d5af9395133dfa88912a83 Mon Sep 17 00:00:00 2001 From: Dirk Chang Date: Fri, 22 Jan 2021 16:00:00 +0800 Subject: [PATCH] CURLINFO_EFFECTIVE_METHOD is added in 7.72.0 --- src/lcinfoeasy.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lcinfoeasy.h b/src/lcinfoeasy.h index ab4bef3..6cbf8a9 100644 --- a/src/lcinfoeasy.h +++ b/src/lcinfoeasy.h @@ -79,6 +79,9 @@ OPT_ENTRY(total_time_t, TOTAL_TIME_T, OFF, 0) #if LCURL_CURL_VER_GE(7,66,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) #endif