From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id C7131BC37 for ; Thu, 16 Jul 2009 16:22:33 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4CANrUXkrU4xEKkWdsb2JhbACBUZdrAQEBAQkLCgcTA7gOAoQJBQ X-IronPort-AV: E=Sophos;i="4.42,411,1243807200"; d="scan'208";a="33123042" Received: from moutng.kundenserver.de ([212.227.17.10]) by mail1-smtp-roc.national.inria.fr with ESMTP; 16 Jul 2009 16:22:33 +0200 Received: from office1.lan.sumadev.de (dslb-094-219-220-162.pools.arcor-ip.net [94.219.220.162]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MKt2u-1MRRqx3A1E-000BGv; Thu, 16 Jul 2009 16:22:32 +0200 Received: from [192.168.5.104] (dslb-094-219-220-162.pools.arcor-ip.net [94.219.220.162]) by office1.lan.sumadev.de (Postfix) with ESMTPSA id 82F82C0F4A; Thu, 16 Jul 2009 16:22:31 +0200 (CEST) Subject: Re: [Caml-list] Re: netclient-ssl From: Gerd Stolpmann To: Dave Benjamin Cc: caml-list@inria.fr, mykola.stryebkov@gmail.com In-Reply-To: References: Content-Type: text/plain Date: Thu, 16 Jul 2009 16:26:07 +0200 Message-Id: <1247754367.14637.2.camel@flake.lan.gerd-stolpmann.de> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19LonvbhmQc8OqIR8dqGHElYNVDFyOfNyCALBD qqZZXTWHeUxvkzfPDvIvFJKG3NL1ybRMn+rJEu8dr3XZBV6nJ2 gI49OX7lIbEEZV5crOyOg== X-Spam: no; 0.00; gerd:01 stolpmann:01 gerd:01 read-only:01 netclient:01 stolpmann:01 viktoriastr:01 64293:01 darmstadt:01 6151:01 6151:01 curl:98 sourceforge:01 caml-list:01 caml-list:01 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 ------------------------------------------------------------