Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 52894 invoked from network); 12 Jun 2006 14:32:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 14:32:59 -0000 Received: (qmail 20717 invoked by uid 500); 12 Jun 2006 14:32:53 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 20556 invoked by uid 500); 12 Jun 2006 14:32:52 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 20510 invoked by uid 99); 12 Jun 2006 14:32:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 07:32:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [143.89.13.11] (HELO mx3.ust.hk) (143.89.13.11) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 07:32:49 -0700 Received: from ccsu28.ust.hk (ccsu28.ust.hk [143.89.103.31]) by mx3.ust.hk (8.13.6/8.13.6) with ESMTP id k5CEWOaW017461 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Mon, 12 Jun 2006 22:32:25 +0800 (HKT) Received: from ccsu28.ust.hk (localhost [127.0.0.1]) by ccsu28.ust.hk (8.13.4+Sun/8.13.3) with ESMTP id k5CEVHiI020549 for ; Mon, 12 Jun 2006 22:31:17 +0800 (HKT) Received: (from ccyflai@localhost) by ccsu28.ust.hk (8.13.4+Sun/8.13.3/Submit) id k5CEVHgN020548 for dev@httpd.apache.org; Mon, 12 Jun 2006 22:31:17 +0800 (HKT) X-Authentication-Warning: ccsu28.ust.hk: ccyflai set sender to ccyflai@ust.hk using -f Date: Mon, 12 Jun 2006 22:31:17 +0800 From: Lai Yiu Fai To: dev@httpd.apache.org Subject: Re: writing 2.x module thaty makes SSL connection Message-ID: <20060612143116.GA20528@ccsu28.ust.hk> References: <20060612122451.GA20468@ccsu28.ust.hk> <40960.196.8.104.27.1150115366.squirrel@www.sharp.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40960.196.8.104.27.1150115366.squirrel@www.sharp.fm> User-Agent: Mutt/1.4.1i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks but filter looks complicated to do a simple job. That module just requires to request a XML document via https. What would be the simply way to do that? Regards, -Fai On Mon, Jun 12, 2006 at 02:29:26PM +0200, Graham Leggett wrote: > On Mon, June 12, 2006 2:24 pm, Lai Yiu Fai wrote: > > > I would like to write a module which make https connection and read the > > response. Are there any export functions in mod_ssl, mod_proxy ... etc > > that > > do the jobs? I have searched all APR_DECLARE_OPTIONAL_FN() and seems > > nothing related. So, should I go directly to OpenSSL calls or any APR > > SSL > > helper API existed? > > mod_proxy_http does this, but the connection it creates uses the httpd > filter mechanism to do it, along with the SSL filter provided by mod_ssl. > > What protocol are you trying to speak over the SSL connection? > > Regards, > Graham > -- >