Daniel Risacher wrote:
Is it possible to get the file descriptor for the client socket from the 
RequestRec?

I.e. something like $r->FILENO (which doesn't seem to work) or perhaps 
$r->connection->client_socket->os_sock

(os_sock exists in the APR structure in C, but there doesn't seem to be a perl 
accessor method.)

Reason I want to do this... I'm trying write a perl module to pass the 
connection to another process using File::FDpasser.


$fd = fileno(STDOUT); won't work?

Is this really what you want to do? I think apache will still terminate the connection (I'm not sure there's away to avoid that).

Rob

Reply via email to