Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Gerd Stolpmann <gerd@gerd-stolpmann.de>
To: Dave Benjamin <dave@ramenlabs.com>
Cc: caml-list@inria.fr, mykola.stryebkov@gmail.com
Subject: Re: [Caml-list] Re: netclient-ssl
Date: Thu, 16 Jul 2009 16:26:07 +0200	[thread overview]
Message-ID: <1247754367.14637.2.camel@flake.lan.gerd-stolpmann.de> (raw)
In-Reply-To: <alpine.DEB.2.00.0907151804140.14156@spoomusic.com>


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



      reply	other threads:[~2009-07-16 14:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16  1:09 netclient-ssl Dave Benjamin
2009-07-16 14:26 ` Gerd Stolpmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1247754367.14637.2.camel@flake.lan.gerd-stolpmann.de \
    --to=gerd@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=dave@ramenlabs.com \
    --cc=mykola.stryebkov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox