Diff for /parser3/src/classes/curl.C between versions 1.80 and 1.82

version 1.80, 2026/07/19 19:06:14 version 1.82, 2026/07/19 20:25:15
Line 18 Line 18
 #include "pa_http.h"  #include "pa_http.h"
 #include "ltdl.h"  #include "ltdl.h"
   
   #ifdef _MSC_VER
   #include "winsock2.h" // AF_INET & co
   #endif
   
 volatile const char * IDENT_CURL_C="$Id$";  volatile const char * IDENT_CURL_C="$Id$";
   
 class MCurl: public Methoded {  class MCurl: public Methoded {
Line 592  static void curl_setopt(HashStringValue: Line 596  static void curl_setopt(HashStringValue:
   
                         // hash of $.[host:port][address[,address]] entries to populate DNS cache with, bypassing the resolver                          // hash of $.[host:port][address[,address]] entries to populate DNS cache with, bypassing the resolver
                         HashStringValue *value_hash=v.as_hash("failed to set option 'resolve': value");                          HashStringValue *value_hash=v.as_hash("failed to set option 'resolve': value");
                         res=f_curl_easy_setopt(curl(), opt->id, options().resolve=curl_resolve(value_hash));                          res=f_curl_easy_setopt(curl(), opt->id, options().resolve=value_hash ? curl_resolve(value_hash) : 0);
                         break;                          break;
                 }                  }
                 case CurlOption::CURL_FILE:{                  case CurlOption::CURL_FILE:{

Removed from v.1.80  
changed lines
  Added in v.1.82


E-mail: