Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 38225 invoked from network); 22 Feb 2008 15:38:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2008 15:38:19 -0000 Received: (qmail 34801 invoked by uid 500); 22 Feb 2008 15:38:09 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 34786 invoked by uid 500); 22 Feb 2008 15:38:09 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 34775 invoked by uid 99); 22 Feb 2008 15:38:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 07:38:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.93.241.2] (HELO lovelace.askonline.net) (216.93.241.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 15:37:22 +0000 Received: from localhost (localhost [127.0.0.1]) by lovelace.askonline.net (Postfix) with ESMTP id E5C7A53C428; Fri, 22 Feb 2008 10:37:42 -0500 (EST) Received: from lovelace.askonline.net ([127.0.0.1]) by localhost (lovelace.askonline.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24855-08; Fri, 22 Feb 2008 10:37:42 -0500 (EST) Received: from Dadiosis.local (c-76-24-235-64.hsd1.ma.comcast.net [76.24.235.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lovelace.askonline.net (Postfix) with ESMTP id A801F53C194; Fri, 22 Feb 2008 10:37:42 -0500 (EST) Message-ID: <47BEEC46.6030104@askonline.net> Date: Fri, 22 Feb 2008 10:37:42 -0500 From: Victor Danilchenko User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Torsten Foertsch CC: modperl@perl.apache.org Subject: Re: A question about wiring up filehandles for direct dump to HTTP pipe References: <47BEDB58.4040804@askonline.net> <200802221633.49822.torsten.foertsch@gmx.net> In-Reply-To: <200802221633.49822.torsten.foertsch@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Torsten Foertsch wrote: > On Fri 22 Feb 2008, Victor Danilchenko wrote: >> or to grab a given file from disk? > > Perhaps $r->sendfile($filename)? Defined in Apache2::RequestIO. There is precious little documentation on it, so I will have to experiment with it a little, but this sounds like it might do the trick. Thanks. -- Victor Danilchenko Senior Software Engineer, AskOnline.net victor@askonline.net - 617-273-0119