perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: How to detect client disconnect without doing any I/O in mod_perl2?
Date Thu, 06 Nov 2003 11:34:20 GMT
Alex Khrenov wrote:
> In the mod_perl1 there is $c->fileno( [$direction] ) for it.
> How can i to do in mod_perl2?

$c->aborted? Though I'm not sure whether it'll be set if you don't try to read 
from/write to the socket. It'd be nice to add such a test to our test suite. 
Patches are *very* welcome.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message