perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
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
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message