[...]

> =head1 Detecting a Client Abort
>
>  # IsClientConnected? Might already be disconnected for busy
>  # site, if a user hits stop/reload
>
>  my $conn = $r->connection;
>  my $is_connected = $conn->aborted ? 0 : 1;
>  if($is_connected) {
>      if (defined(my $fileno = $conn->fileno(0))) {
>          my $s = IO::Select->new($fileno);
>          $is_connected = $s->can_read(0) ? 0 : 1;
>      } else { $is_connected = 0 }
>  }

Is there any way in mp2 to detect aborted connections
using a similar approach to the mp1 example above?

--

Thanks,

Dan
___________________________________________________________

Dan Kubb                  Email: [EMAIL PROTECTED]
Autopilot                 Phone: (604) 820-0212
                            Web: http://www.onautopilot.com
___________________________________________________________

Reply via email to