We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad56a0 commit e8dd205Copy full SHA for e8dd205
lib/http/HttpClient_Curl.hpp
@@ -208,7 +208,13 @@ class CurlHttpOperation {
208
* Note that this API takes a pointer to a 'long' while we use
209
* curl_socket_t for sockets otherwise.
210
*/
211
+
212
+#if LIBCURL_VERSION_NUM >= 0x072D00 // Version 7.45.00
213
+ res = curl_easy_getinfo(curl, CURLINFO_ACTIVESOCKET, &sockextr);
214
+#else
215
res = curl_easy_getinfo(curl, CURLINFO_LASTSOCKET, &sockextr);
216
+#endif
217
218
if(CURLE_OK != res)
219
{
220
DispatchEvent(OnConnectFailed); // couldn't connect - stage 2
0 commit comments