cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: no response return when using https in libcurl

From: Victor Hu <VictorHu_at_blue-world.net>
Date: Tue, 18 Jun 2002 10:26:38 -0700
I have used "curl_global_init(CURL_GLOBAL_SSL)"  before I called curl_easy_init().
 
Even after I enable VERBOSE and HEADER using
"curl_easy_setopt (curl, CURLOPT_HEADER, 1)" and  
" curl_easy_setopt (curl, CURLOPT_VERBOSE, 1)",
no information is returned.
 
I tried  https://www.openssl.org/, and I got the same result.
 
Thanks,
Victor 

blue world information technology inc., 
suite 700, 555 west hastings st, 
vancouver, bc, v6b 4n5, canada
tel: (604) 443-5007, fax: (604) 443-5096
http://www.blue-world.net


-----curl-library-admin@lists.sourceforge.net wrote: -----

To: Victor Hu <VictorHu@blue-world.net>
From: curl-library-admin@lists.sourceforge.net
Date: 06/18/2002 12:54AM
cc: libcurl Mailing list <curl-library@lists.sourceforge.net>
Subject: Re: no response return when using https in libcurl

On Mon, 17 Jun 2002, Victor Hu wrote:[sample code cut out]> When I run it in VC++, a page from curl.haxx.se was return. If I change> the URL into https://curl.haxx.se, no information is returned.What if you enable VERBOSE and HEADER ?What if you try other SSL sites like https://www.openssl.org/ ?I'd like to point out here in all friendlyness that I do ask you to *not* usethe curl site as test target for your programs. It has a fair amount of workto do anyway, without this extra load.> In the command line, if I run "curl https://curl.haxx.se", a page called> 401 Authorization Required will be returned.I'm not sure why this happens. But a quick glance shows that curl usescurl_global_init() for example, which your program doesn't.--     Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/----------------------------------------------------------------------------                   Bringing you mounds of caffeinated joy                      >>>     http://thinkgeek.com/sf    <<<
---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< Received on 2002-06-19