Re: send_fd and timeout problem

2000-01-26 Thread Doug MacEachern
On Thu, 20 Jan 2000, Martin Lichtin wrote: > Doug MacEachern wrote: > > mod_perl doesn't set it's own alarm when $r->send_fd is called. did you > > call $r->print or print before hand? > > Hmm, no, I do something like this: > > $r->content_type('application/octet-stream'); > my($size) = -s $fh

Re: send_fd and timeout problem

2000-01-25 Thread Martin Lichtin
Doug MacEachern wrote: > mod_perl doesn't set it's own alarm when $r->send_fd is called. did you > call $r->print or print before hand? Hmm, no, I do something like this: $r->content_type('application/octet-stream'); my($size) = -s $fh; $r->header_out('Content-Length', $size); $r->send_http_hea

Re: send_fd and timeout problem

2000-01-18 Thread Doug MacEachern
On Fri, 7 Jan 2000, Martin Lichtin wrote: > Hi, > > I'm using send_fd() to send relatively large files. Apache's Timeout is > currently set to 60s and indeed, mod_perl aborts as soon as the minute > elapses. (error msg: mod_perl: Apache->print timed out). > However, it shouldn't do that, righ

send_fd and timeout problem

2000-01-07 Thread Martin Lichtin
Hi, I'm using send_fd() to send relatively large files. Apache's Timeout is currently set to 60s and indeed, mod_perl aborts as soon as the minute elapses. (error msg: mod_perl: Apache->print timed out). However, it shouldn't do that, right? As ap_send_fd_length() does 8k chunking and uses a