Are you sure it's waiting?  You might try debug timestamps before & after the
$r->print().  You might also be interested in the send_fd() method if the data
are in a file.

[EMAIL PROTECTED] (Ed Loehr) wrote:
>Any ideas on why would this output statement takes 15-20 seconds to
>send a 120kb page to a browser on the same host?
>
>sub send_it {
>    my ($r, $data) = @_;
>    
>    $| = 1;  # Don't buffer anything...send it asap...
>    $r->print( $data );
>}   
>
>modperl 1.21, apache/modssl 1.3.9-2.4.9...lightly loaded Linux (RH6.1)
>Dual PIII 450Mhz with local netscape 4.7 client...
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

Reply via email to