Doug MacEachern wrote:

> On Fri, 21 Dec 2001, Stas Bekman wrote:
> 
> thanks, but we need to keep $r->send_fd working as it did with 1.x, no
> length required.  have you seen $r->sendfile?  this is meant to provide an
> interface to the 2.0 send_fd but just for sending files.

I've seen sendfile, but it cannot replace send_fd, it has the same 
requirement of input length. Also it's not available on all platforms.
send_fd is using it internally if it's available.

APR is breaking backwards compatibility with apache-1.3.x, though my 
questions regarding this and other back compat issues go unanswered at 
the apr-dev list :(

Do you say that compat.pm's send_fd version is the best we can offer as 
a replacement for the one in 1.x? It's not as fast as it used to be.

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to