Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 45495 invoked from network); 3 Jul 2008 14:51:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 14:51:12 -0000 Received: (qmail 18976 invoked by uid 500); 3 Jul 2008 14:50:41 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 18948 invoked by uid 500); 3 Jul 2008 14:50:41 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 18928 invoked by uid 99); 3 Jul 2008 14:50:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 07:50:41 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.229.52.226] (HELO grimnir.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 14:49:46 +0000 Received: from grimnir.webthing.com (localhost [127.0.0.1]) by grimnir.webthing.com (Postfix) with ESMTP id 9BE022137 for ; Thu, 3 Jul 2008 15:49:34 +0100 (BST) Date: Thu, 3 Jul 2008 15:49:34 +0100 From: Nick Kew To: modules-dev@httpd.apache.org Subject: Re: porting from IIS Message-ID: <20080703154934.2fc192e0@grimnir> In-Reply-To: <5B0ECC1928CB6C479A734A6BD6209EF002C7D773@exchange.Giant-Steps.local> References: <5B0ECC1928CB6C479A734A6BD6209EF002C7D773@exchange.Giant-Steps.local> Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 3 Jul 2008 17:02:19 +0300 "Harold J. Ship" wrote: > Hi > > This is my first post to this list. I have a project coming up for a > customer who wants to get their IIS extension working as an Apache > module on Linux. An apache module is normally cross-platform. > Some of the challenges are: > > 1) They maintain their own thread pool and scheduler. Those threads > process requests and send responses back to the user agent. This frees > up IIS threads. Is this possible to do in Apache? By the way, they use > Extension Control Blocks to do that. Yes, if you're happy to limit it to threaded implementations. But it may not make sense. See apr_thread_proc (and related APR modules) for API. > 2) Some requests have "sub-requests" that are sent back through IIS. > The main request maintains some globally accessible data that the > sub-requests write to. When the sub-requests are completed, the main > request can use that data. Is this kind of thing possible in an Apache > module? Yep, no problem. Most likely you'll want to let the subrequest access its parent. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/