Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Re: netclient-ssl
@ 2009-07-16  1:09 Dave Benjamin
  2009-07-16 14:26 ` [Caml-list] netclient-ssl Gerd Stolpmann
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Benjamin @ 2009-07-16  1:09 UTC (permalink / raw)
  To: caml-list; +Cc: mykola.stryebkov

Hi Mykola,

> Does anybody can show an example of using Gerd Stolpman's netclient- 
> ssl? I'm especially interested in performing https call.

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. You will probably have a much easier time using Curl:

http://sourceforge.net/projects/ocurl/

Good luck,
Dave

-- 
.. Dave Benjamin - Software Developer - Phoenix, Arizona
.. http://ramenlabs.com | http://twitter.com/ramenlabs


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Re: netclient-ssl
  2009-07-16  1:09 netclient-ssl Dave Benjamin
@ 2009-07-16 14:26 ` Gerd Stolpmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Stolpmann @ 2009-07-16 14:26 UTC (permalink / raw)
  To: Dave Benjamin; +Cc: caml-list, mykola.stryebkov


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
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-16 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-16  1:09 netclient-ssl Dave Benjamin
2009-07-16 14:26 ` [Caml-list] netclient-ssl Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox