Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 85123 invoked from network); 14 Oct 2004 22:51:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Oct 2004 22:51:53 -0000 Received: (qmail 71658 invoked by uid 500); 14 Oct 2004 22:51:28 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 71595 invoked by uid 500); 14 Oct 2004 22:51:27 -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: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 71575 invoked by uid 99); 14 Oct 2004 22:51:27 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [68.142.225.187] (HELO web54603.mail.yahoo.com) (68.142.225.187) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 14 Oct 2004 15:51:26 -0700 Message-ID: <20041014225124.92574.qmail@web54603.mail.yahoo.com> Received: from [67.50.194.24] by web54603.mail.yahoo.com via HTTP; Thu, 14 Oct 2004 15:51:24 PDT Date: Thu, 14 Oct 2004 15:51:24 -0700 (PDT) From: Craig S Subject: Re: [users@httpd] Asynchronous page creation? To: users@httpd.apache.org, dev@httpd.apache.org In-Reply-To: <20041014021054.70948.qmail@web54601.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N After digging into the code (nice job by the way, it is very easy to follow), it looks like there is no way to do what I want without modifications to the core server (the worker code). Has there been any discussion about having handlers return a DEFERRED indication up to process_socket(), so the transaction information can be saved until a later event can answer the request? -Craig --- Craig S wrote: > From what I can tell, Apache passes a request to a > handler and expects a result to be written by that > handler. What I want to do is send information from > the message to do a query of a database that will > return an answer later on. I'd like to return from > the > handler and create the result page later on when the > answer comes back. > > My hope is to reduce the need for multiple threads > or > processes. > > Any pointers? > > Thanks, > > -Craig > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > The official User-To-User support forum of the > Apache HTTP Server Project. > See for > more info. > To unsubscribe, e-mail: > users-unsubscribe@httpd.apache.org > " from the digest: > users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: > users-help@httpd.apache.org > > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail