forwarded message from Doug MacEachern

Brian Millett (bpm@techapp.com)
Tue, 18 Mar 1997 12:43:05 -0600

From: "Brian Millett" <bpm@techapp.com>
To: fastcgi-developers@OpenMarket.com
Subject: forwarded message from Doug MacEachern
Date: Tue, 18 Mar 1997 12:43:05 -0600
Message-Id: <19970318184305.AAA1241@vlad.terraweb.com>

I asked the mod_perl developers about sfio & mod_perl.  Here is their
reply.  Intersting.  Are there plans to incorporate the tie() of
STD[IN/OUT] into the FCGI modules for perl?

Thanks
------- start of forwarded message (RFC 934 encapsulation) -------
From: Doug MacEachern <dougm@OPENGROUP.ORG>
To: MODPERL@LISTPROC.ITRIBE.NET
Subject:      Re: sfio? Not needed?
Date:         Tue, 18 Mar 1997 12:08:07 -0500

Brian Millett <bpm@techapp.com> wrote:

> So let me get this straight.  If I am using 5.003_2 < perl < 5.003_93 and I want
> to use mod_perl I must use sfio?  5.003_93 or greater then I do not
> need sfio?  Did perl internals get changed?  The reason I am asking is
> there were two reasons for using sfio, 1) mod_perl & 2) fastCGI.  If
> perl will tie STD(IN/OUT) then fastCGI should be upgraded, might not
> need sfio.  I'd rather not use sfio, I just like the simpler the
> better.

>From the 5.003_93 Changes file:
  Title:  "Support READ and GETC for tied handles"
   From:  Doug MacEachern <dougm@opengroup.org>
 Msg-ID:  <199703090019.TAA32591@postman.osf.org>
   Date:  Sat, 08 Mar 1997 19:19:38 -0500
  Files:  pod/perldelta.pod pod/perltie.pod pp_sys.c t/op/misc.t

sfio was never a requirement for mod_perl, only to hook up STDIN and
STDOUT to the client so you could use Perl's read() and print().
mod_perl always provided native Apache-> methods too.  Now, by
default (with 5.003_93), mod_perl tie()'s STDIN and STDOUT to the
client, no need for sfio to use Perl's read() and print() functions.

sfio is a requirement for FastCGI, otherwise you need to modify perl
source code and re-build a special perl for it to work.  The FCGI
module could also tie() STDIN and STDOUT now.

- -Doug

>
> Thanks
>
> --
> Brian Millett
> Technology Applications Inc.     "Heaven can not exist,
> (314) 530-1981                          If the family is not eternal"
> bpm@techapp.com                   F. Ballard Washburn
>
------- end -------

-- 
Brian Millett                    
Technology Applications Inc.     "Heaven can not exist,
(314) 530-1981                          If the family is not eternal"
bpm@techapp.com                   F. Ballard Washburn