Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: netclient-ssl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <gerd@g...>
Subject: Re: [Caml-list] Re: netclient-ssl

Am Mittwoch, den 15.07.2009, 18:09 -0700 schrieb Dave Benjamin:
> Hi Mykola,
> 
> > Does anybody can show an example of using Gerd Stolpman's netclient- 
> > ssl? I'm especially interested in performing https call.

netclient-ssl? What's that? (Rhetoric question - such a library does not
exist.)

> I think you posted this to fa.caml using Google Groups. Unfortunately, 
> fa.caml is (or should be) a read-only copy of the messages on the 
> caml-list mailing list. I have copied this to the list so that others may 
> respond. You may wish to sign up to continue this conversation:
> 
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> 
> To answer your question, I don't think it is very easy to do HTTPS using 
> netclient-ssl - you have to write your own version of the HTTP protocol 
> because Ocamlnet's HTTP and SSL support are not compatible with each 
> other. 

Yes. Unfortunately, netclient uses an older approach for doing socket
I/O where one cannot plug in SSL support. I have right now no time for
doing the necessary changes (unless somebody would pay me).

Gerd

> You will probably have a much easier time using Curl:
> 
> http://sourceforge.net/projects/ocurl/
> 
> Good luck,
> Dave
> 
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------