Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 10439 invoked from network); 12 Jun 2006 12:29:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 12:29:53 -0000 Received: (qmail 93261 invoked by uid 500); 12 Jun 2006 12:29:49 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 93210 invoked by uid 500); 12 Jun 2006 12:29:49 -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 93184 invoked by uid 99); 12 Jun 2006 12:29:49 -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 05:29:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of minfrin@sharp.fm designates 64.49.220.200 as permitted sender) Received: from [64.49.220.200] (HELO chandler.sharp.fm) (64.49.220.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 05:29:47 -0700 Received: from chandler.sharp.fm (localhost [127.0.0.1]) by chandler.sharp.fm (Postfix) with ESMTP id 64907E44F9 for ; Mon, 12 Jun 2006 07:29:26 -0500 (CDT) Received: from www.sharp.fm (unknown [209.61.173.189]) by chandler.sharp.fm (Postfix) with ESMTP id 4B176E4494; Mon, 12 Jun 2006 07:29:26 -0500 (CDT) Received: from 196.8.104.27 (SquirrelMail authenticated user minfrin@sharp.fm) by www.sharp.fm with HTTP; Mon, 12 Jun 2006 14:29:26 +0200 (SAST) Message-ID: <40960.196.8.104.27.1150115366.squirrel@www.sharp.fm> In-Reply-To: <20060612122451.GA20468@ccsu28.ust.hk> References: <20060612122451.GA20468@ccsu28.ust.hk> Date: Mon, 12 Jun 2006 14:29:26 +0200 (SAST) Subject: Re: writing 2.x module thaty makes SSL connection From: "Graham Leggett" To: dev@httpd.apache.org Cc: dev@httpd.apache.org User-Agent: SquirrelMail/1.4.6-5.el4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 --