cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problem with https get in AIX 5.2

From: Jack Rong <jack.rong_at_cloakware.com>
Date: Wed, 13 Apr 2005 10:39:48 -0400

Hi,

I am running into a problem to use https request. Test a very small program
like,

#include <stdio.h>
#include <curl/curl.h>

int main(void)
{
  CURL *curl;
  CURLcode res;

  curl = curl_easy_init();
  if(curl) {
     curl_easy_setopt(curl, CURLOPT_URL, "https://sourceforge.net/");

    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
    res = curl_easy_perform(curl);

    /* always cleanup */
    curl_easy_cleanup(curl);
  }
  return 0;
}

The process hung in AIX 5.2. But worked fine in Solaris, Linux.

Any helps would be greatly appreciated.

Jack Rong
Received on 2005-04-13