Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 78240 invoked from network); 10 Aug 2005 05:16:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 05:16:43 -0000 Received: (qmail 41827 invoked by uid 500); 10 Aug 2005 05:16:36 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 41805 invoked by uid 500); 10 Aug 2005 05:16:36 -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 41785 invoked by uid 99); 10 Aug 2005 05:16:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 22:16:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of parin.soc@gmail.com designates 64.233.162.205 as permitted sender) Received: from [64.233.162.205] (HELO zproxy.gmail.com) (64.233.162.205) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 22:16:57 -0700 Received: by zproxy.gmail.com with SMTP id 13so42627nzn for ; Tue, 09 Aug 2005 22:16:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pPdZeTRZi4IwVtGIZr3XFz1r0o9XkfBFnHa6eQm8CPuEpqMOReRwn8Er4eEjRN1srycNNSbzE6n2R+ydfxnurcnc/IY5w74XXiY7cum+wAS4LQV7cPxrFw/VRPUq8xjhbPitTy8O7VVfuWuuZ6DQIfzQfcDptRrsRuhHjcYcTRQ= Received: by 10.36.75.13 with SMTP id x13mr310848nza; Tue, 09 Aug 2005 22:16:33 -0700 (PDT) Received: by 10.36.154.8 with HTTP; Tue, 9 Aug 2005 22:16:33 -0700 (PDT) Message-ID: Date: Wed, 10 Aug 2005 00:16:33 -0500 From: Parin Shah To: dev@httpd.apache.org Subject: Re: how to make sub-requests? In-Reply-To: <42F8CA9A.4020000@sharp.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <40891.196.8.104.31.1123496141.squirrel@www.sharp.fm> <6.2.1.2.2.20050808054310.05353120@pop3.rowe-clan.net> <42F8CA9A.4020000@sharp.fm> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Would there be value in teaching ap_read_request() how to not break if > you called ap_read_request(NULL)? >=20 Well, I couldnt find a way to do this. and with NULL value it crashes. > Alternatively ap_read_request() could be broken up into > ap_read_request() and ap_create_request(), which would do just the > request_req creation part. >=20 request_rec creation part needs conn_rec, and creating conn_req is again not straight forward so I dont think ap_read_request is gonna help us in this case. > This seems to be the first time a request_req has ever been needed where > a connection was not available. I am now going through mod-proxy as chipig and iholsman suggested. It seems that allows us to create fake requests. any further help in that (or any other) direction would be really great. Thanks, Parin. >=20 > Regards, > Graham > -- >