> I cannot get a simple https get to work. And worse, I cannot get a
> proper error message. I tried with couple of diffrent addresses, same
> results. ---------
>    HTTP := THTTPSend.Create;
>    HTTP.Protocol:='1.1' ;
>    Http.Sock.CreateWithSSL(TSSLOpenSSL);
> if not  HTTP.HTTPMethod('GET','https://www.openssl.org/') then
>    begin
>          writeln('HTTP.Sock.LastError :',HTTP.Sock.LastError, ' 
> /errordesc=" ' ,HTTP.Sock.LastErrorDesc,'"');
>          writeln('HTTP.Sock.SSL.LastError :',HTTP.Sock.SSL.LastError,
>          ' 
> /errordesc="' ,HTTP.Sock.SSL.LastErrorDesc,'"');
>    end

Remove line:
Http.Sock.CreateWithSSL(TSSLOpenSSL);



-- 
Lukas Gebauer.

http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
http://geoget.ararat.cz/ - Geocaching solution


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to