diff --git a/appveyor.yml b/appveyor.yml index 2e4c529..e805dde 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,7 +7,7 @@ shallow_clone: true environment: LUAROCKS_VER: 2.2.1 - CURL_VER: 7.49.0 + CURL_VER: 7.50.1 matrix: - LUA_VER: 5.1.5 diff --git a/src/lcinfoeasy.h b/src/lcinfoeasy.h index 9e0df1b..0cc9ab4 100644 --- a/src/lcinfoeasy.h +++ b/src/lcinfoeasy.h @@ -43,6 +43,10 @@ OPT_ENTRY( rtsp_server_cseq, RTSP_SERVER_CSEQ, LNG, 0) OPT_ENTRY( rtsp_cseq_recv, RTSP_CSEQ_RECV, LNG, 0) #endif +#if LCURL_CURL_VER_GE(7,50,1) +OPT_ENTRY( http_version, HTTP_VERSION, STR, 0) +#endif + // OPT_ENTRY( PRIVATE, void ) // OPT_ENTRY( CERTINFO, struct curl_certinfo * // OPT_ENTRY( TLS_SESSION, struct curl_tlssessioninfo *