RE: [Speedycgi-users] File descriptors > 2 and SpeedyCGI
Brought to you by:
samh
|
From: Dallas L. E. <da...@nm...> - 2004-01-07 14:18:00
|
> I've run into a problem where I'm trying to use SpeedyCGI to=20 > replace a=20 > script that needs to access some previously-opened file=20 > descriptors that=20 > are grater than 3 to read and write from. (It's something=20 > that's going to=20 > get inserted into a qmail server stream, if anyone cares.) >=20 > It looks like SpeedyCGI though, uses the file descriptors --=20 > especially=20 > those starting around 15 or so -- for communicating=20 > environment or other=20 > things to the backend processes (is that right? was trying to=20 > examine the=20 > code...) and in the process apparently closes any descriptors=20 > above #2. >=20 see the thread i created last march regarding reading STDOUT from qmail to grab envelope headers... http://sourceforge.net/mailarchive/forum.php?thread_id=3D1825647&forum_id= =3D 12206 unless things have changed since then, i dont know what to do to make it work. it would be very cool if i could get this going, since starting a perl interpreter for each message gets expensive. d |